Skip to content

Commit d5961c6

Browse files
committed
FUSETOOLS2-1505 - increase timeout to avoid test flakiness
Signed-off-by: Aurélien Pupier <[email protected]>
1 parent 208fec5 commit d5961c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/github/cameltooling/lsp/internal/diagnostic/CamelDiagnosticTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ void testValidationErrorClearedOnClose() throws Exception {
147147
DidCloseTextDocumentParams params = new DidCloseTextDocumentParams(new TextDocumentIdentifier(DUMMY_URI+".xml"));
148148
camelLanguageServer.getTextDocumentService().didClose(params);
149149

150-
await().timeout(AWAIT_TIMEOUT).untilAsserted(() -> assertThat(lastPublishedDiagnostics.getDiagnostics()).isEmpty());
150+
await().timeout(AWAIT_TIMEOUT.multipliedBy(2)).untilAsserted(() -> assertThat(lastPublishedDiagnostics.getDiagnostics()).isEmpty());
151151
}
152152

153153
@Test

0 commit comments

Comments
 (0)