mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 12:12:08 +08:00
更改测试用例
This commit is contained in:
@@ -17,7 +17,7 @@ public class TestFlow implements CommandLineRunner {
|
||||
|
||||
@Override
|
||||
public void run(String... args) throws Exception {
|
||||
Slot slot = flowExecutor.execute("chain3", "it's a request");
|
||||
Slot slot = flowExecutor.execute("chain2", "it's a request");
|
||||
System.out.println(slot);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,8 +20,7 @@
|
||||
|
||||
<chain name="chain2">
|
||||
<then value="a,c"/> <!-- then表示串行 -->
|
||||
<when value="b,d"/> <!-- when表示串行 -->
|
||||
<then value="e,f,g"/>
|
||||
<when value="b,d,e,f,g"/> <!-- when表示串行 -->
|
||||
</chain>
|
||||
|
||||
<chain name="chain3">
|
||||
|
||||
Reference in New Issue
Block a user