Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
everywhere.z
2022-08-16 09:20:30 +01:00

View File

@@ -32,7 +32,7 @@ public class RefreshRuleTest extends BaseTest {
@Test
public void testRefresh1() throws Exception{
String content = ResourceUtil.readUtf8Str("classpath: /refreshRule/flow_update.el.xml");
FlowBus.refreshFlowMetaData(FlowParserTypeEnum.TYPE_XML, content);
FlowBus.refreshFlowMetaData(FlowParserTypeEnum.TYPE_EL_XML, content);
LiteflowResponse response = flowExecutor.execute2Resp("chain1", "arg");
Assert.assertTrue(response.isSuccess());
}
@@ -44,7 +44,7 @@ public class RefreshRuleTest extends BaseTest {
try {
Thread.sleep(4000L);
String content = ResourceUtil.readUtf8Str("classpath: /refreshRule/flow_update.el.xml");
FlowBus.refreshFlowMetaData(FlowParserTypeEnum.TYPE_XML, content);
FlowBus.refreshFlowMetaData(FlowParserTypeEnum.TYPE_EL_XML, content);
} catch (Exception e) {
e.printStackTrace();
}