Commit 7e81d85e by DuJunLi

解决偶然报错问题

parent 8fd4404b
......@@ -168,6 +168,11 @@ public class TestCreateMemberCluster extends BaseTestImpl {
Thread.sleep(2000);
//7.1 批量发放微信消息
memberClusterTools.batchMessagePushForMemberCluster(clusterIdA, "WECHAT_COMMON");
if("分群数据同步中,请稍后再操作".equals(XMJSONPath.readPath(dataApi.getApi_response(), "$.message"))){
Thread.sleep(5000);
memberClusterTools.batchMessagePushForMemberCluster(clusterIdA, "WECHAT_COMMON");
}
Assert.assertTrue(Boolean.valueOf(XMJSONPath.readPath(dataApi.getApi_response(), "$.success")) == true, "调用接口返回结果:" + XMJSONPath.readPath(dataApi.getApi_response(), "$.message"));
Thread.sleep(2000);
......
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