diff --git a/compiler/tests/org/jetbrains/kotlin/daemon/CompilerDaemonTest.kt b/compiler/tests/org/jetbrains/kotlin/daemon/CompilerDaemonTest.kt index 5e6a3236ea1..150856f24d6 100644 --- a/compiler/tests/org/jetbrains/kotlin/daemon/CompilerDaemonTest.kt +++ b/compiler/tests/org/jetbrains/kotlin/daemon/CompilerDaemonTest.kt @@ -195,10 +195,12 @@ class CompilerDaemonTest : KotlinIntegrationTestBase() { logFile2.assertLogContainsSequence("Starting compilation with args: ") KotlinCompilerClient.shutdownCompileService(compilerId, daemonOptions) + Thread.sleep(100) logFile1.assertLogContainsSequence("Shutdown complete") logFile1.delete() KotlinCompilerClient.shutdownCompileService(compilerId2, daemonOptions) + Thread.sleep(100) logFile2.assertLogContainsSequence("Shutdown complete") logFile2.delete() }