Skip to content

Commit

Permalink
FUSETOOLS2-1505 - increase timeout to avoid test flakiness
Browse files Browse the repository at this point in the history
Signed-off-by: Aurélien Pupier <[email protected]>
  • Loading branch information
apupier committed Jun 5, 2023
1 parent 2cfe4f9 commit d2faa74
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ void testValidationErrorClearedOnClose() throws Exception {
DidCloseTextDocumentParams params = new DidCloseTextDocumentParams(new TextDocumentIdentifier(DUMMY_URI+".xml"));
camelLanguageServer.getTextDocumentService().didClose(params);

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

@Test
Expand Down

0 comments on commit d2faa74

Please sign in to comment.