From acad0541edbe69c7fec776808a975c04daddba15 Mon Sep 17 00:00:00 2001 From: Junchao Wu Date: Mon, 28 Dec 2015 12:57:48 -0800 Subject: [PATCH] Fix flaky test --- tests/integration/trace/test_zipkin_trace.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/integration/trace/test_zipkin_trace.py b/tests/integration/trace/test_zipkin_trace.py index 05b02a3e..60a71aae 100644 --- a/tests/integration/trace/test_zipkin_trace.py +++ b/tests/integration/trace/test_zipkin_trace.py @@ -256,5 +256,6 @@ def hello(request): trace=True, ) - assert count[0] == (yield f) + count = yield f + assert count == 3 assert test_trace_hook.invalid_traceflag == 0