Skip to content

Commit 2fae58e

Browse files
committed
[lldb][test] Disable WriteWithTimeout test on Windows
This is still flaky on our Windows on Arm bot: ******************** TEST 'lldb-unit :: Host/./HostTests.exe/8/10' FAILED ******************** Script(shard): -- GTEST_OUTPUT=json:C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\tools\lldb\unittests\Host\.\HostTests.exe-lldb-unit-3616-8-10.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=10 GTEST_SHARD_INDEX=8 C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\tools\lldb\unittests\Host\.\HostTests.exe -- Script: -- C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\tools\lldb\unittests\Host\.\HostTests.exe --gtest_filter=PipeTest.WriteWithTimeout -- C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\unittests\Host\PipeTest.cpp(110): error: Expected: (dur) >= (std::chrono::seconds(2)), actual: 8-byte object <1C-A6 34-77 00-00 00-00> vs 8-byte object <02-00 00-00 00-00 00-00> C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\unittests\Host\PipeTest.cpp:110 Expected: (dur) >= (std::chrono::seconds(2)), actual: 8-byte object <1C-A6 34-77 00-00 00-00> vs 8-byte object <02-00 00-00 00-00 00-00>
1 parent ceb7214 commit 2fae58e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lldb/unittests/Host/PipeTest.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ TEST_F(PipeTest, OpenAsReader) {
5555
}
5656
#endif
5757

58+
// This test is flaky on Windows on Arm.
59+
#ifndef _WIN32
5860
TEST_F(PipeTest, WriteWithTimeout) {
5961
Pipe pipe;
6062
ASSERT_THAT_ERROR(pipe.CreateNew(false).ToError(), llvm::Succeeded());
@@ -150,3 +152,4 @@ TEST_F(PipeTest, WriteWithTimeout) {
150152
.ToError(),
151153
llvm::Succeeded());
152154
}
155+
#endif /*ifndef _WIN32*/

0 commit comments

Comments
 (0)