Commit dc6e4ff2 by xuyamei

解决报错

parent 8faba4fc
...@@ -181,6 +181,11 @@ public class TestAddToQueue extends BaseTestImpl { ...@@ -181,6 +181,11 @@ public class TestAddToQueue extends BaseTestImpl {
reserveCTools.cancelMemberReserve(memberInfo.getString(2),memberInfo.getString(0),true); reserveCTools.cancelMemberReserve(memberInfo.getString(2),memberInfo.getString(0),true);
// 取消验证课次详情、预约记录、预约详情、B端预约详情内容 // 取消验证课次详情、预约记录、预约详情、B端预约详情内容
checkResult("QUEUE_CANCEL", "QUEUE_CANCEL","取消排队"); checkResult("QUEUE_CANCEL", "QUEUE_CANCEL","取消排队");
try {
Thread.sleep(2000);
} catch (InterruptedException e) {
throw new RuntimeException(e);
}
break; break;
case "notQueue": case "notQueue":
// 预约规则开启允许排队 // 预约规则开启允许排队
...@@ -208,7 +213,7 @@ public class TestAddToQueue extends BaseTestImpl { ...@@ -208,7 +213,7 @@ public class TestAddToQueue extends BaseTestImpl {
ruleTools.saveGroupBookingRules(id,true,bookingSeatCount,true,true,random.nextInt(30)+10,false,random.nextInt(100)+10,random.nextInt(5)+1,false,random.nextInt(100)+10,"minutes",false,random.nextInt(100)+10,"minutes"); ruleTools.saveGroupBookingRules(id,true,bookingSeatCount,true,true,random.nextInt(30)+10,false,random.nextInt(100)+10,random.nextInt(5)+1,false,random.nextInt(100)+10,"minutes",false,random.nextInt(100)+10,"minutes");
try { try {
Thread.sleep(1000); Thread.sleep(3000);
} catch (InterruptedException e) { } catch (InterruptedException e) {
throw new RuntimeException(e); throw new RuntimeException(e);
} }
......
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