From c10bb65050e89b76baa056b4b71c9da5d569463f Mon Sep 17 00:00:00 2001 From: Chen Weihang Date: Fri, 23 Apr 2021 12:50:21 +0000 Subject: [PATCH] fix reader_blocking_queue_test --- paddle/fluid/operators/reader/reader_blocking_queue_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/operators/reader/reader_blocking_queue_test.cc b/paddle/fluid/operators/reader/reader_blocking_queue_test.cc index 98a68ca69cafd..1aa93c80387e6 100644 --- a/paddle/fluid/operators/reader/reader_blocking_queue_test.cc +++ b/paddle/fluid/operators/reader/reader_blocking_queue_test.cc @@ -68,7 +68,7 @@ TEST(BlockingQueue, SenderBlockingTest) { ++send_count; } }); - std::this_thread::sleep_for(std::chrono::milliseconds(1000)); + std::this_thread::sleep_for(std::chrono::milliseconds(1500)); q.Close(); sender.join(); EXPECT_EQ(send_count, queue_cap);