Commit 9edce23f by DuJunLi

优化代码,增加睡眠时间

parent 5955803c
......@@ -176,7 +176,7 @@ public class TestBatchReserve1v1Personal extends BaseTestImpl {
String taskId1V1 = XMJSONPath.readPath(dataApi.getApi_response(), "$.result");
//4:任务中心check
Thread.sleep(4000);
Thread.sleep(5000);
couponTools.getStudioBatchTaskPage();
Long goalTask = XMJSONPath.getJSONArrayByReadPath(dataApi.getApi_response(), "$.result.records").toJavaList(JSONObject.class).stream().filter(e ->
e.getString("id").equals(taskId1V1)).count();
......
......@@ -180,7 +180,7 @@ public class TestBatchReserve1vnPersonal extends BaseTestImpl {
String taskId1VnA = XMJSONPath.readPath(dataApi.getApi_response(), "$.result");
//4:任务中心check
Thread.sleep(4000);
Thread.sleep(5000);
couponTools.getStudioBatchTaskPage();
Long goalTask = XMJSONPath.getJSONArrayByReadPath(dataApi.getApi_response(), "$.result.records").toJavaList(JSONObject.class).stream().filter(e ->
e.getString("id").equals(taskId1VnA)).count();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment