Skip to content

Commit

Permalink
test(core): fix flaky assertion for operation entries
Browse files Browse the repository at this point in the history
Co-authored-by: Timon Back <timonback@users.noreply.github.com>
  • Loading branch information
sam0r040 and timonback committed Dec 13, 2024
1 parent 3b896c7 commit 35ace81
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ void processClassTest() {
Map<String, Operation> operations = operationsInClassScannerAdapter.scan();

// then
assertThat(operations).containsExactlyEntriesOf(Map.of("operation1", operation1, "operation2", operation2));
assertThat(operations)
.containsExactlyInAnyOrderEntriesOf(Map.of("operation1", operation1, "operation2", operation2));
}

@Test
Expand Down

0 comments on commit 35ace81

Please sign in to comment.