mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[kotlin] Fixed daemon has terminated error causing flakiness in Kotlin compiler reference tests
KTIJ-31055 GitOrigin-RevId: 544a5cda4f0fa6fa724ed3655577baf0045fc148
This commit is contained in:
committed by
intellij-monorepo-bot
parent
128507917b
commit
feb3dd7614
+6
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user