Code Review
/
clover.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
1f543c5
)
Sleep 1 sec after set test.
67/58567/2
author
wutianwei
<wutianwei1@huawei.com>
Fri, 15 Jun 2018 06:22:39 +0000
(14:22 +0800)
committer
wutianwei
<wutianwei1@huawei.com>
Wed, 20 Jun 2018 01:57:34 +0000
(09:57 +0800)
if we set testid and start test immediately,
the first test's result can't be got from jaeger
Change-Id: Ia2ab8a91d8c5f9956ea4d3d7c2436fb05490acee
Signed-off-by: wutianwei <wutianwei1@huawei.com>
clover/test/fraser_a_b_test.py
patch
|
blob
|
history
diff --git
a/clover/test/fraser_a_b_test.py
b/clover/test/fraser_a_b_test.py
index
cfbc79f
..
2270e04
100644
(file)
--- a/
clover/test/fraser_a_b_test.py
+++ b/
clover/test/fraser_a_b_test.py
@@
-218,6
+218,8
@@
def main(argv):
test_id = uuid.uuid4()
rr.set_route_rules(test_id)
tracing.setTest(test_id)
+ # wait 1 sec to avoid missing the first test result
+ time.sleep(1)
try:
output = subprocess.check_output(cmd, shell=True)
except subprocess.CalledProcessError, e: