File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/test/java/net/jodah/failsafe/functional Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -317,14 +317,14 @@ public void testFallbackThenTimeoutWithBlockedSupplier() {
317317 public void testFallbackThenTimeoutWithBlockedFallback () {
318318 AtomicInteger timeoutCounter = new AtomicInteger ();
319319 AtomicInteger fallbackCounter = new AtomicInteger ();
320- Timeout <Object > timeout = Timeout .of (Duration .ofMillis (1 )).onFailure (e -> {
320+ Timeout <Object > timeout = Timeout .of (Duration .ofMillis (100 )).onFailure (e -> {
321321 System .out .println ("Timed out" );
322322 timeoutCounter .incrementAndGet ();
323323 });
324324 Fallback <Object > fallback = Fallback .of (() -> {
325325 System .out .println ("Falling back" );
326326 fallbackCounter .incrementAndGet ();
327- Thread .sleep (100 );
327+ Thread .sleep (200 );
328328 throw new IllegalStateException ();
329329 });
330330
You can’t perform that action at this time.
0 commit comments