Пример #1
0
 public TestCircuitBreaker(IHystrixCommandKey commandKey)
 {
     this.Metrics      = HystrixCircuitBreakerTest.GetMetrics(commandKey, HystrixCommandOptionsTest.GetUnitTestOptions());
     forceShortCircuit = false;
 }
Пример #2
0
 public TestCircuitBreaker()
 {
     Metrics           = HystrixCircuitBreakerTest.GetMetrics(HystrixCommandOptionsTest.GetUnitTestOptions());
     forceShortCircuit = false;
 }