Skip to content

Commit

Permalink
Fix typo in CircuitBreakingIntegrationTest (#1688)
Browse files Browse the repository at this point in the history
Signed-off-by: yunfeiyanggzq <yunfeiyang@buaa.edu.cn>
  • Loading branch information
yunfeiyanggzq committed Aug 21, 2020
1 parent e582670 commit b91305a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,14 +188,14 @@ private void verifyState(List<CircuitBreaker> breakers, int target) {
}

@Test
public void testMultipleHalfOpenedBreaders() throws Exception {
public void testMultipleHalfOpenedBreakers() throws Exception {
CircuitBreakerStateChangeObserver observer = mock(CircuitBreakerStateChangeObserver.class);
setCurrentMillis(System.currentTimeMillis() / 1000 * 1000);
int retryTimeoutSec = 2;
int maxRt = 50;
int statIntervalMs = 20000;
int minRequestAmount = 1;
String res = "CircuitBreakingIntegrationTest_testMultipleHalfOpenedBreaders";
String res = "CircuitBreakingIntegrationTest_testMultipleHalfOpenedBreakers";
EventObserverRegistry.getInstance().addStateChangeObserver(res, observer);
// initial two rules
DegradeRuleManager.loadRules(Arrays.asList(
Expand Down

0 comments on commit b91305a

Please sign in to comment.