Browse Source

Fix typo in CircuitBreakingIntegrationTest (#1688)

Signed-off-by: yunfeiyanggzq <yunfeiyang@buaa.edu.cn>
master
ZhiQiang Gu GitHub 4 years ago
parent
commit
b91305a903
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      sentinel-core/src/test/java/com/alibaba/csp/sentinel/slots/block/degrade/CircuitBreakingIntegrationTest.java

+ 2
- 2
sentinel-core/src/test/java/com/alibaba/csp/sentinel/slots/block/degrade/CircuitBreakingIntegrationTest.java View File

@@ -188,14 +188,14 @@ public class CircuitBreakingIntegrationTest extends AbstractTimeBasedTest {
}
@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(


Loading…
Cancel
Save