Skip to content

Commit

Permalink
Issue ReactiveX#719: Fixed flaky test data setup (ReactiveX#720)
Browse files Browse the repository at this point in the history
  • Loading branch information
Romeh authored and RobWin committed Oct 30, 2019
1 parent bc2fbcc commit 5eb7a10
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public void shouldReplaceMetrics() {
assertThat(successful.get().value()).isEqualTo(bulkhead.getMetrics().getMaximumThreadPoolSize());

ThreadPoolBulkhead newBulkhead = ThreadPoolBulkhead.of(bulkhead.getName(), ThreadPoolBulkheadConfig.custom()
.maxThreadPoolSize(10).build());
.maxThreadPoolSize(Runtime.getRuntime().availableProcessors() + 1).build());

bulkheadRegistry.replace(bulkhead.getName(), newBulkhead);

Expand Down

0 comments on commit 5eb7a10

Please sign in to comment.