Skip to content
Snippets Groups Projects
Commit 17e282bb authored by OZGCloud's avatar OZGCloud
Browse files

Merge pull request 'fix flaky test' (#522) from fix-after-merge into master

parents d28a7617 f6a586b1
Branches
Tags
No related merge requests found
......@@ -238,7 +238,7 @@ class CollaborationITCase {
}
private void waitUntilCommandHasStatus(String commandId, CommandStatus status) {
await().atMost(600, TimeUnit.SECONDS).until(
await().atMost(70, TimeUnit.SECONDS).until(
() -> mongoOperations.findById(commandId, Command.class),
command -> command.getStatus() == status);
}
......@@ -331,7 +331,7 @@ class CollaborationITCase {
waitUntilCommandHasStatus(command.getId(), CommandStatus.ERROR);
assertThat(loadCollaborationRequest(vorgangId)).isEmpty();
await().atMost(70, TimeUnit.SECONDS).untilAsserted(() -> assertThat(loadCollaborationRequest(vorgangId)).isEmpty());
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment