Skip to content

Commit 5ab1f68

Browse files
committed
Flaky build due to a possible race condition #1449
Signed-off-by: christian.lutnik <[email protected]>
1 parent 3a1ce09 commit 5ab1f68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/dev/openfeature/sdk/EventProviderTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public static void resetDefaultProvider() {
3232
}
3333

3434
@Test
35-
@Timeout(2)
35+
@Timeout(value = 2, threadMode = Timeout.ThreadMode.SEPARATE_THREAD)
3636
@DisplayName("should run attached onEmit with emitters")
3737
void emitsEventsWhenAttached() {
3838
TriConsumer<EventProvider, ProviderEvent, ProviderEventDetails> onEmit = mockOnEmit();

0 commit comments

Comments
 (0)