We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ff85933 + b9dc398 commit 4286cd1Copy full SHA for 4286cd1
hystrix-core/src/test/java/com/netflix/hystrix/HystrixCircuitBreakerTest.java
@@ -372,6 +372,7 @@ public void testCircuitClosedAfterSuccess() {
372
373
// everything has failed in the test window so we should return false now
374
Thread.sleep(100);
375
+ System.out.println("CircuitBreaker state 1 : " + cmd1.getMetrics().getHealthCounts());
376
assertFalse(cb.allowRequest());
377
assertTrue(cb.isOpen());
378
@@ -391,6 +392,7 @@ public void testCircuitClosedAfterSuccess() {
391
392
asyncResult.toBlocking().single();
393
394
// all requests should be open again
395
+ System.out.println("CircuitBreaker state 2 : " + cmd1.getMetrics().getHealthCounts());
396
assertTrue(cb.allowRequest());
397
398
0 commit comments