Skip to content

Commit 3eebcde

Browse files
authored
reduce sleep
1 parent 4140fd4 commit 3eebcde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/unittests/Host/PipeTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ TEST_F(PipeTest, ReadWithTimeout) {
190190
memset(buf, 0, sizeof(buf));
191191
std::future<llvm::Expected<size_t>> future_num_bytes = std::async(
192192
std::launch::async, [&] { return pipe.Read(buf, sizeof(buf)); });
193-
std::this_thread::sleep_for(std::chrono::seconds(1));
193+
std::this_thread::sleep_for(std::chrono::milliseconds(10));
194194
ASSERT_THAT_EXPECTED(pipe.Write(hello_world.data(), hello_world.size()),
195195
llvm::HasValue(hello_world.size()));
196196
ASSERT_THAT_EXPECTED(future_num_bytes.get(),

0 commit comments

Comments
 (0)