Skip to content

Commit c342af0

Browse files
committed
Fix flaky bulkhead test
1 parent 665b6e7 commit c342af0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/test/java/dev/failsafe/functional/BulkheadTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,5 +98,8 @@ public void testAcquirePermitWithInterrupt() {
9898
System.out.println("Executing");
9999
throw new Exception();
100100
}, InterruptedException.class);
101+
102+
// Reset interrupt flag
103+
Thread.interrupted();
101104
}
102105
}

0 commit comments

Comments
 (0)