diff options
author | wutianwei <wutianwei1@huawei.com> | 2018-06-15 14:22:39 +0800 |
---|---|---|
committer | wutianwei <wutianwei1@huawei.com> | 2018-06-20 09:57:34 +0800 |
commit | 6a458ea97603ef97ef9b2e10bcfdbfd051ead2b1 (patch) | |
tree | 806f8e6a454b1264904ca8a70bf785cf324e8d77 | |
parent | 1f543c55dd426a34ab3cafa514fa446c22b6fa03 (diff) |
Sleep 1 sec after set test.
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>
-rw-r--r-- | clover/test/fraser_a_b_test.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clover/test/fraser_a_b_test.py b/clover/test/fraser_a_b_test.py index cfbc79f..2270e04 100644 --- 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: |