测试用例修改

This commit is contained in:
everywhere.z 2023-07-30 14:37:32 +08:00
parent 492add1ed2
commit 93b0b076ac
5 changed files with 5 additions and 5 deletions

View File

@ -44,7 +44,7 @@ public class CustomWhenThreadPoolELDeclMultiSpringbootTest extends BaseTest {
LiteflowResponse response = flowExecutor.execute2Resp("chain", "arg");
DefaultContext context = response.getFirstContextBean();
Assertions.assertTrue(response.isSuccess());
Assertions.assertTrue(context.getData("threadName").toString().startsWith("lf-when-thead"));
Assertions.assertTrue(context.getData("threadName").toString().startsWith("when-thread-1"));
}
/**

View File

@ -44,7 +44,7 @@ public class CustomWhenThreadPoolELDeclSpringbootTest extends BaseTest {
LiteflowResponse response = flowExecutor.execute2Resp("chain", "arg");
DefaultContext context = response.getFirstContextBean();
Assertions.assertTrue(response.isSuccess());
Assertions.assertTrue(context.getData("threadName").toString().startsWith("lf-when-thead"));
Assertions.assertTrue(context.getData("threadName").toString().startsWith("when-thread-1"));
}
/**

View File

@ -35,7 +35,7 @@ public class CustomWhenThreadPoolTest extends BaseTest {
LiteflowResponse response = flowExecutor.execute2Resp("chain", "arg");
DefaultContext context = response.getFirstContextBean();
Assertions.assertTrue(response.isSuccess());
Assertions.assertTrue(context.getData("threadName").toString().startsWith("lf-when-thead"));
Assertions.assertTrue(context.getData("threadName").toString().startsWith("when-thread-1"));
}
/**

View File

@ -36,7 +36,7 @@ public class CustomWhenThreadPoolELSpringbootTest extends BaseTest {
LiteflowResponse response = flowExecutor.execute2Resp("chain", "arg");
DefaultContext context = response.getFirstContextBean();
Assertions.assertTrue(response.isSuccess());
Assertions.assertTrue(context.getData("threadName").toString().startsWith("lf-when-thead"));
Assertions.assertTrue(context.getData("threadName").toString().startsWith("when-thread-1"));
}
/**

View File

@ -37,7 +37,7 @@ public class CustomWhenThreadPoolELSpringTest extends BaseTest {
LiteflowResponse response = flowExecutor.execute2Resp("chain", "arg");
DefaultContext context = response.getFirstContextBean();
Assertions.assertTrue(response.isSuccess());
Assertions.assertTrue(context.getData("threadName").toString().startsWith("lf-when-thead"));
Assertions.assertTrue(context.getData("threadName").toString().startsWith("when-thread-1"));
}
/**