更改测试用例

This commit is contained in:
bryan31
2021-03-18 17:06:33 +08:00
parent 4deb840fdd
commit ecf734dd5e
2 changed files with 2 additions and 3 deletions

View File

@@ -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);
}
}

View File

@@ -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">