Commit ec920dbd by yangfangfang

解决报错

parent 2ce6ab4f
......@@ -120,12 +120,11 @@ public class TestGetCostData extends XMBaseTest {
try {
Thread.sleep(200000);
Thread.sleep(250000);
} catch (InterruptedException e) {
e.printStackTrace();
}
//先查一下当前营收数据-全部
JSONObject afterGetCostData=financeDataTools.getCostData_all("DAY",TimeUtils.getTodayTime(),TimeUtils.getTodayEndTime());
BigDecimal afterConfirmedAmount=new BigDecimal(afterGetCostData.getJSONObject("result").getString("confirmedAmount"));//确认收入
......@@ -138,7 +137,6 @@ public class TestGetCostData extends XMBaseTest {
//校验1:
//校验已支付订单对于营收数据-全部的确认收入无变化,待消耗金额增加对应的金额
Assert.assertEquals(afterConfirmedAmount, beforeConfirmedAmount,"创建已支付订单,数据中心-营收数据汇总-全部-确认收入应该无变化");
......@@ -178,7 +176,7 @@ public class TestGetCostData extends XMBaseTest {
// BigDecimal leftAmount6=new BigDecimal(getCommodityTypeCostDetail_result.getJSONArray("records").getJSONObject(5).getString("leftAmount"));
try {
Thread.sleep(8000);
Thread.sleep(100000);
} catch (InterruptedException e) {
throw new RuntimeException(e);
}
......@@ -212,7 +210,7 @@ public class TestGetCostData extends XMBaseTest {
try {
Thread.sleep(200000);
Thread.sleep(250000);
} catch (InterruptedException e) {
e.printStackTrace();
}
......
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