优化测试用例

This commit is contained in:
everywhere.z
2023-08-02 16:22:29 +08:00
parent 93b0b076ac
commit a363962bfa

View File

@@ -40,7 +40,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"));
}
/**