浏览代码

Fix typo in CircuitBreakingIntegrationTest (#1688)

Signed-off-by: yunfeiyanggzq <yunfeiyang@buaa.edu.cn>
master
ZhiQiang Gu GitHub 4 年前
父节点
当前提交
b91305a903
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 2 次插入2 次删除
  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 查看文件

@@ -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(


正在加载...
取消
保存