From 4db2cc9073f8e496dfb8d14b424339b149e68652 Mon Sep 17 00:00:00 2001 From: Chen Weihang Date: Sun, 25 Apr 2021 10:47:57 +0800 Subject: [PATCH] fix reader_blocking_queue_test (#32505) --- 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 98a68ca69ca..1aa93c80387 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); -- GitLab