测试用例修改
This commit is contained in:
parent
492add1ed2
commit
93b0b076ac
|
@ -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"));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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"));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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"));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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"));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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"));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue