Skip to content

Commit

Permalink
Made fallback semaphore allow maximum concurrent fallbacks in unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Jacobs committed Nov 20, 2015
1 parent 0f26e36 commit f0c4cca
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ protected TestCommand() {
.andCommandKey(HystrixCommandKey.Factory.asKey("testTimeoutConcurrencyCommand"))
.andCommandPropertiesDefaults(HystrixCommandProperties.Setter()
.withExecutionTimeoutInMilliseconds(3)
.withCircuitBreakerEnabled(false))
.withCircuitBreakerEnabled(false)
.withFallbackIsolationSemaphoreMaxConcurrentRequests(NUM_CONCURRENT_COMMANDS))
.andThreadPoolPropertiesDefaults(HystrixThreadPoolProperties.Setter()
.withCoreSize(NUM_CONCURRENT_COMMANDS)));
}
Expand Down

0 comments on commit f0c4cca

Please sign in to comment.