Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
test-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
马博
test-platform
Commits
20ae6e56
Commit
20ae6e56
authored
Oct 29, 2020
by
赵然
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zr
parent
39a9ab0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
出奖订单测试_DuibaTest.java
...est/java/http/cases/NewActivityTest/出奖订单测试_DuibaTest.java
+5
-5
No files found.
src/test/java/http/cases/NewActivityTest/出奖订单测试_DuibaTest.java
View file @
20ae6e56
...
...
@@ -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
(
1
000
);
Thread
.
sleep
(
3
000
);
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
(
1
000
);
Thread
.
sleep
(
3
000
);
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
(
300
0
);
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
(
1
000
);
Thread
.
sleep
(
3
000
);
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
(
300
0
);
selectResult2
=
jdbc
.
findSimpleResult
(
"select * from orders_consumer.orders_0687 where order_num = '"
+
main_orderId
+
"' "
);
flowWork
=
String
.
valueOf
(
selectResult2
.
get
(
"flowwork_stage"
));
logger
.
info
(
"领奖后数据库订单节点:"
+
flowWork
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment