Commit 20ae6e56 authored by 赵然's avatar 赵然

zr

parent 39a9ab0a
......@@ -74,7 +74,7 @@ public class 出奖订单测试_DuibaTest extends DuibaTestBase {
String flowWork = String.valueOf(selectResult2.get("flowwork_stage"));
int j =10;
while (j > 0 && !flowWork.equals("Success-complete")) {
Thread.sleep(1000);
Thread.sleep(3000);
selectResult2 = jdbc.findSimpleResult("select * from orders_consumer.orders_0687 where order_num = '"+main_orderId+"' ");
flowWork = String.valueOf(selectResult2.get("flowwork_stage"));
logger.info("数据库订单节点:" + flowWork);
......@@ -102,7 +102,7 @@ public class 出奖订单测试_DuibaTest extends DuibaTestBase {
String result = String.valueOf(response.jsonPath().getString("result"));
int i= 30;
while(i>0&&(result.equals("0"))){
Thread.sleep(1000);
Thread.sleep(3000);
response = newActivityService.getOrderStatus2(orderId,"iOS");
result = String.valueOf(response.jsonPath().getString("result"));
i--;
......@@ -120,7 +120,7 @@ public class 出奖订单测试_DuibaTest extends DuibaTestBase {
int j =10;
while (j > 0 && !flowWork.equals("Success-complete")) {
Thread.sleep(300);
Thread.sleep(3000);
selectResult2 = jdbc.findSimpleResult("select * from orders_consumer.orders_0687 where order_num = '"+main_orderId+"' ");
flowWork = String.valueOf(selectResult2.get("flowwork_stage"));
logger.info("数据库订单节点:" + flowWork);
......@@ -144,7 +144,7 @@ public class 出奖订单测试_DuibaTest extends DuibaTestBase {
String result = String.valueOf(response.jsonPath().getString("result"));
int i= 30;
while(i>0&&(result.equals("0"))){
Thread.sleep(1000);
Thread.sleep(3000);
response = newActivityService.getOrderStatus2(orderId,"iOS");
result = String.valueOf(response.jsonPath().getString("result"));
i--;
......@@ -176,7 +176,7 @@ public class 出奖订单测试_DuibaTest extends DuibaTestBase {
int j =10;
while (j > 0 && !flowWork.equals("SupplierExchange-started")) {
Thread.sleep(300);
Thread.sleep(3000);
selectResult2 = jdbc.findSimpleResult("select * from orders_consumer.orders_0687 where order_num = '"+main_orderId+"' ");
flowWork = String.valueOf(selectResult2.get("flowwork_stage"));
logger.info("领奖后数据库订单节点:" + flowWork);
......
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