diff --git a/java/java-tests/testSrc/com/intellij/java/codeInsight/completion/AbstractCompilerAwareTest.java b/java/java-tests/testSrc/com/intellij/java/codeInsight/completion/AbstractCompilerAwareTest.java index e22d303b46d1..9d3e8cdb8e35 100644 --- a/java/java-tests/testSrc/com/intellij/java/codeInsight/completion/AbstractCompilerAwareTest.java +++ b/java/java-tests/testSrc/com/intellij/java/codeInsight/completion/AbstractCompilerAwareTest.java @@ -57,6 +57,12 @@ public abstract class AbstractCompilerAwareTest extends JavaCodeInsightFixtureTe protected void rebuildProject() { for (final CompilerMessage compilerMessage : myCompilerTester.rebuild()) { + if (compilerMessage.getMessage().contains("Kotlin compile daemon is ready")) { + // For Kotlin, this error does not indicate that the compilation failed and can be ignored. + // It will start a second daemon that should compile the project correctly. + // See KT-69929 + continue; + } assertNotSame("File: " + compilerMessage.getVirtualFile() + ", " + compilerMessage.getMessage(), CompilerMessageCategory.ERROR, compilerMessage.getCategory()); }