Skip to content

Commit

Permalink
Use small default timeout for failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
jhalterman committed Jun 24, 2023
1 parent 66b0681 commit 3455d5a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -52,7 +52,7 @@ public void testPermitAcquiredAfterWait() {
}

public void testPermitAcquiredAfterWaitWithLargeQueue(){
Bulkhead<Object> bulkhead = Bulkhead.builder(1).withMaxWaitTime(Duration.ofSeconds(15)).build();
Bulkhead<Object> bulkhead = Bulkhead.builder(1).withMaxWaitTime(Duration.ofSeconds(1)).build();
FailsafeExecutor<Object> exec = Failsafe.with(bulkhead);
CompletableFuture<Void>[] tasks = new CompletableFuture[10];
for(int i = 0; i < tasks.length; i++){
Expand Down

0 comments on commit 3455d5a

Please sign in to comment.