|
@@ -19,6 +19,7 @@ import com.alibaba.csp.sentinel.BaseTest; |
|
|
import com.alibaba.csp.sentinel.Entry; |
|
|
import com.alibaba.csp.sentinel.Entry; |
|
|
import com.alibaba.csp.sentinel.EntryType; |
|
|
import com.alibaba.csp.sentinel.EntryType; |
|
|
import com.alibaba.csp.sentinel.adapter.dubbo.config.DubboConfig; |
|
|
import com.alibaba.csp.sentinel.adapter.dubbo.config.DubboConfig; |
|
|
|
|
|
import com.alibaba.csp.sentinel.adapter.dubbo.fallback.DefaultDubboFallback; |
|
|
import com.alibaba.csp.sentinel.adapter.dubbo.fallback.DubboFallback; |
|
|
import com.alibaba.csp.sentinel.adapter.dubbo.fallback.DubboFallback; |
|
|
import com.alibaba.csp.sentinel.adapter.dubbo.fallback.DubboFallbackRegistry; |
|
|
import com.alibaba.csp.sentinel.adapter.dubbo.fallback.DubboFallbackRegistry; |
|
|
import com.alibaba.csp.sentinel.adapter.dubbo.provider.DemoService; |
|
|
import com.alibaba.csp.sentinel.adapter.dubbo.provider.DemoService; |
|
@@ -82,6 +83,7 @@ public class SentinelDubboConsumerFilterTest extends BaseTest { |
|
|
@After |
|
|
@After |
|
|
public void cleanUp() { |
|
|
public void cleanUp() { |
|
|
cleanUpAll(); |
|
|
cleanUpAll(); |
|
|
|
|
|
DubboFallbackRegistry.setConsumerFallback(new DefaultDubboFallback()); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public void initFlowRule(String resource) { |
|
|
public void initFlowRule(String resource) { |
|
|