From ab4ea7d8cf848923f2e627f083a7ae6ff8156b6a Mon Sep 17 00:00:00 2001 From: bryan31 Date: Thu, 11 Nov 2021 14:59:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E6=B5=8B=E8=AF=95=E7=94=A8?= =?UTF-8?q?=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yomahub/liteflow/test/asyncNode/AsyncNodeSpringbootTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/liteflow-testcase-springboot/src/test/java/com/yomahub/liteflow/test/asyncNode/AsyncNodeSpringbootTest.java b/liteflow-testcase-springboot/src/test/java/com/yomahub/liteflow/test/asyncNode/AsyncNodeSpringbootTest.java index 6a2a4739f..6859eda00 100644 --- a/liteflow-testcase-springboot/src/test/java/com/yomahub/liteflow/test/asyncNode/AsyncNodeSpringbootTest.java +++ b/liteflow-testcase-springboot/src/test/java/com/yomahub/liteflow/test/asyncNode/AsyncNodeSpringbootTest.java @@ -105,6 +105,7 @@ public class AsyncNodeSpringbootTest extends BaseTest { Assert.assertEquals(TestException.class, response.getCause().getClass()); } + //测试任意异步一个执行完即继续的场景 //d g h并行,配置了any=true,其中d耗时1秒,g耗时0.5秒,其他都不设耗时 //最终执行效果应该是h先返回,然后执行abc,最后gd //这里要注意的是,由于step是先加入,所以step的打印顺序并不是这样的。但是实际执行是正确的