From 39d204c550e921568821301472e1147a965b8082 Mon Sep 17 00:00:00 2001 From: Ilya Chernikov Date: Thu, 9 Feb 2017 23:18:54 +0100 Subject: [PATCH] Adjust test after introducing shutdown delay --- .../tests/org/jetbrains/kotlin/daemon/CompilerDaemonTest.kt | 2 ++ 1 file changed, 2 insertions(+) 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() }