mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 20:22:07 +08:00
enhancement #I4OQIX 组件执行轨迹日志级别调整
This commit is contained in:
@@ -54,10 +54,10 @@ public class LiteflowConfigNoSpringTest extends BaseTest {
|
||||
executor.setLiteflowConfig(config);
|
||||
executor.init();
|
||||
LiteflowResponse<DefaultSlot> response0 = executor.execute2Resp("chain1", "arg");
|
||||
Assert.assertEquals("a==>b==>c", response0.getSlot().printStep());
|
||||
Assert.assertEquals("a==>b==>c", response0.getSlot().getExecuteStepStr());
|
||||
|
||||
LiteflowResponse<DefaultSlot> response1 = executor.execute2Resp("chain3", "arg");
|
||||
Assert.assertEquals("a==>c==>f==>g", response1.getSlot().printStep());
|
||||
Assert.assertEquals("a==>c==>f==>g", response1.getSlot().getExecuteStepStr());
|
||||
|
||||
}
|
||||
|
||||
@@ -75,9 +75,9 @@ public class LiteflowConfigNoSpringTest extends BaseTest {
|
||||
executor.setLiteflowConfig(config);
|
||||
executor.init();
|
||||
LiteflowResponse<DefaultSlot> response0 = executor.execute2Resp("chain1", "arg");
|
||||
Assert.assertEquals("a==>b==>c", response0.getSlot().printStep());
|
||||
Assert.assertEquals("a==>b==>c", response0.getSlot().getExecuteStepStr());
|
||||
LiteflowResponse<DefaultSlot> response1 = executor.execute2Resp("chain3", "arg");
|
||||
Assert.assertEquals("a==>c==>f==>g", response1.getSlot().printStep());
|
||||
Assert.assertEquals("a==>c==>f==>g", response1.getSlot().getExecuteStepStr());
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -94,8 +94,8 @@ public class LiteflowConfigNoSpringTest extends BaseTest {
|
||||
executor.setLiteflowConfig(config);
|
||||
executor.init();
|
||||
LiteflowResponse<DefaultSlot> response0 = executor.execute2Resp("chain1", "arg");
|
||||
Assert.assertEquals("a==>b==>c", response0.getSlot().printStep());
|
||||
Assert.assertEquals("a==>b==>c", response0.getSlot().getExecuteStepStr());
|
||||
LiteflowResponse<DefaultSlot> response = executor.execute2Resp("chain3", "arg");
|
||||
Assert.assertEquals("a==>c==>f==>g", response.getSlot().printStep());
|
||||
Assert.assertEquals("a==>c==>f==>g", response.getSlot().getExecuteStepStr());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -32,8 +32,8 @@ public class LocalRuleSourcePatternMatchSpringTest extends BaseTest {
|
||||
@Test
|
||||
public void testLocalJsonRuleSourcePatternMatch() {
|
||||
LiteflowResponse<DefaultSlot> response0 = executor.execute2Resp("chain1", "arg");
|
||||
Assert.assertEquals("a==>b==>c", response0.getSlot().printStep());
|
||||
Assert.assertEquals("a==>b==>c", response0.getSlot().getExecuteStepStr());
|
||||
LiteflowResponse<DefaultSlot> response1 = executor.execute2Resp("chain3", "arg");
|
||||
Assert.assertEquals("a==>c==>f==>g", response1.getSlot().printStep());
|
||||
Assert.assertEquals("a==>c==>f==>g", response1.getSlot().getExecuteStepStr());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -67,7 +67,7 @@ public class ZkNodeWithJsonSpringTest extends BaseTest {
|
||||
public void test() {
|
||||
LiteflowResponse<DefaultSlot> response = flowExecutor.execute2Resp("chain1", "arg");
|
||||
Assert.assertTrue(response.isSuccess());
|
||||
Assert.assertEquals("a==>b==>c", response.getSlot().printStep());
|
||||
Assert.assertEquals("a==>b==>c", response.getSlot().getExecuteStepStr());
|
||||
}
|
||||
|
||||
@AfterClass
|
||||
|
||||
@@ -67,7 +67,7 @@ public class ZkNodeWithXmlSpringTest extends BaseTest {
|
||||
public void test() {
|
||||
LiteflowResponse<DefaultSlot> response = flowExecutor.execute2Resp("chain1", "arg");
|
||||
Assert.assertTrue(response.isSuccess());
|
||||
Assert.assertEquals("a==>b==>c", response.getSlot().printStep());
|
||||
Assert.assertEquals("a==>b==>c", response.getSlot().getExecuteStepStr());
|
||||
}
|
||||
|
||||
@AfterClass
|
||||
|
||||
@@ -73,7 +73,7 @@ public class ZkNodeWithYmlSpringTest extends BaseTest {
|
||||
public void test() {
|
||||
LiteflowResponse<DefaultSlot> response = flowExecutor.execute2Resp("chain1", "arg");
|
||||
Assert.assertTrue(response.isSuccess());
|
||||
Assert.assertEquals("a==>b==>c", response.getSlot().printStep());
|
||||
Assert.assertEquals("a==>b==>c", response.getSlot().getExecuteStepStr());
|
||||
}
|
||||
|
||||
@AfterClass
|
||||
|
||||
Reference in New Issue
Block a user