From c756787a883449cd6ed421aa85d527c5878fe2c1 Mon Sep 17 00:00:00 2001 From: Lin Yuan Date: Tue, 17 Sep 2019 13:40:08 -0700 Subject: [PATCH] fix flaky test --- tests/python/unittest/test_profiler.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/python/unittest/test_profiler.py b/tests/python/unittest/test_profiler.py index d58c08b5f26e..8e8209f5235b 100644 --- a/tests/python/unittest/test_profiler.py +++ b/tests/python/unittest/test_profiler.py @@ -112,7 +112,6 @@ def get_log(): var.asnumpy() stop = time.time() task.stop() - assert stop > start profiler.set_state('stop')