Skip to content

Commit 1d0ddc5

Browse files
committed
Fix test on CI
1 parent 9f1cc24 commit 1d0ddc5

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/test/kotlin/eu/openanalytics/shinyproxyoperator/impl/docker/MainIntegrationTest.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,12 @@ import kotlinx.coroutines.delay
2828
import kotlinx.coroutines.launch
2929
import kotlinx.coroutines.withTimeout
3030
import org.junit.jupiter.api.Assertions.assertNull
31-
import org.junit.jupiter.api.Disabled
3231
import org.junit.jupiter.api.Test
3332
import org.junit.jupiter.params.ParameterizedTest
3433
import org.junit.jupiter.params.provider.ValueSource
3534
import kotlin.io.path.deleteIfExists
3635
import kotlin.io.path.readText
3736
import kotlin.io.path.writeText
38-
import kotlin.test.Ignore
3937
import kotlin.test.assertEquals
4038
import kotlin.test.assertNotNull
4139

@@ -360,6 +358,7 @@ class MainIntegrationTest : IntegrationTestBase() {
360358
val operator2 = DockerOperator(config, eventController, recyclableChecker)
361359
eventController.setDelegate(EventController(operator2.orchestrator))
362360
scope.launch {
361+
delay(5_000) // wait with starting operator, until event listener is created
363362
eventController.setDelegate(EventController(operator2.orchestrator))
364363
operator2.init()
365364
operator2.run()

0 commit comments

Comments
 (0)