enhancement #I4PTY4 修复CopyOnWriteHashMap可能存在的Bug

This commit is contained in:
bryan31
2022-01-07 15:33:04 +08:00
parent de5e0cfc66
commit de8f402c92
2 changed files with 82 additions and 67 deletions

View File

@@ -47,7 +47,7 @@ public class RefreshRuleSpringbootTest extends BaseTest {
public void testRefresh2() throws Exception{
new Thread(() -> {
try {
Thread.sleep(1000L);
Thread.sleep(3000L);
String content = ResourceUtil.readUtf8Str("classpath: /refreshRule/flow_update.xml");
FlowBus.refreshFlowMetaData(FlowParserTypeEnum.TYPE_XML, content);
} catch (Exception e) {