Commit dacdf1c8 authored by Su-Yi's avatar Su-Yi

开通会员后延迟2s

parent 9cab393d
......@@ -85,7 +85,7 @@ public class CircleFriends {
Assert.assertTrue(data,network.message(params,FRIENDS_ASYNCMARKTIMELINEREAD,"标记已读-接口有误"));
//延迟2秒,存入ES
Thread.currentThread().sleep(2000);
Thread.sleep(2000);
//重新获取未读列表
response = network.getResponse(params,FRIENDS_GETUNREADTIMELINSLIST);
......
......@@ -125,11 +125,14 @@ public class Pay {
}
@AfterClass
public static void tearDown() throws IOException{
public static void tearDown() throws IOException, InterruptedException {
apiCount += 6;
// 切换为保险版vip
ManagerUtil.switchvip(ManagerUtil.getSellerId());
//延迟2秒
Thread.sleep(2000);
}
}
......
......@@ -10,7 +10,7 @@ public class BasicConfig {
// 用户微信昵称
public static final String WECHAT_NAME = "小疙瘩人寿"; //true
// 用户tku
public static final String AGENT_TKU = "T3gM31f18jAW2PQnVGBZzmH7FTj3R1RTGbfyTFzhTJoVNy5wqd7SJEgs4N8WxzCCuUZ99hovXei3GrWux7";
public static final String AGENT_TKU = "T3gM31f18jAW2PScaq7Edra6rFP5FE6WMtZrKENQvLdKbz9Cxco2e4TVfPxEcGcN8MSWsy8UNryACCxNq9";
// *************** 钉钉机器人 ***************
// 线上-告警群
......
......@@ -90,6 +90,9 @@ public class ManagerUtil {
response = network.getResponse(changeParams,MANAGER_CHANGECOMPANY);
network.agentHeaders.remove("X-Csrf-Token");
// network.agentCookies.remove("sso_ticket");
// network.agentCookies.remove("device_no");
// network.agentCookies.remove("csrf_token");
network.host = HOST;
}
......@@ -105,9 +108,9 @@ public class ManagerUtil {
response.body().prettyPrint();
network.agentHeaders.remove("X-Csrf-Token");
network.agentCookies.remove("sso_ticket");
network.agentCookies.remove("device_no");
network.agentCookies.remove("csrf_token");
// network.agentCookies.remove("sso_ticket");
// network.agentCookies.remove("device_no");
// network.agentCookies.remove("csrf_token");
network.host = HOST;
}
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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