From 6a458ea97603ef97ef9b2e10bcfdbfd051ead2b1 Mon Sep 17 00:00:00 2001 From: wutianwei Date: Fri, 15 Jun 2018 14:22:39 +0800 Subject: 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 --- clover/test/fraser_a_b_test.py | 2 ++ 1 file changed, 2 insertions(+) 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: -- cgit 1.2.3-korg