From e08ce5545e49addc96618596af39f1ff59123cb1 Mon Sep 17 00:00:00 2001 From: "Pavel V. Talanov" Date: Thu, 22 Oct 2015 15:34:53 +0300 Subject: [PATCH] Repl test: increase waiting time Hoping to prevent failing on slow teamcity agents --- idea/tests/org/jetbrains/kotlin/idea/console/KotlinReplTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idea/tests/org/jetbrains/kotlin/idea/console/KotlinReplTest.kt b/idea/tests/org/jetbrains/kotlin/idea/console/KotlinReplTest.kt index 25696d239a9..094fbcbd164 100644 --- a/idea/tests/org/jetbrains/kotlin/idea/console/KotlinReplTest.kt +++ b/idea/tests/org/jetbrains/kotlin/idea/console/KotlinReplTest.kt @@ -55,7 +55,7 @@ public class KotlinReplTest : PlatformTestCase() { assertTrue(endsWithPredicate(historyText), "'$expectedOutput' should be printed but document text is:\n$historyText") } - private fun checkHistoryUpdate(maxIterations: Int = 20, sleepTime: Long = 500, stopPredicate: (String) -> Boolean): String { + private fun checkHistoryUpdate(maxIterations: Int = 50, sleepTime: Long = 500, stopPredicate: (String) -> Boolean): String { val consoleView = consoleRunner.consoleView as LanguageConsoleImpl for (i in 1..maxIterations) {