[Lldb-commits] [lldb] 2fae58e - [lldb][test] Disable WriteWithTimeout test on Windows
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Thu Dec 12 02:09:22 PST 2024
Author: David Spickett
Date: 2024-12-12T10:08:53Z
New Revision: 2fae58e9c7becc376454005da69acb3fa993350e
URL: https://github.com/llvm/llvm-project/commit/2fae58e9c7becc376454005da69acb3fa993350e
DIFF: https://github.com/llvm/llvm-project/commit/2fae58e9c7becc376454005da69acb3fa993350e.diff
LOG: [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>
Added:
Modified:
lldb/unittests/Host/PipeTest.cpp
Removed:
################################################################################
diff --git a/lldb/unittests/Host/PipeTest.cpp b/lldb/unittests/Host/PipeTest.cpp
index 506f3d225a21ea..f8fb254b5009ce 100644
--- a/lldb/unittests/Host/PipeTest.cpp
+++ b/lldb/unittests/Host/PipeTest.cpp
@@ -55,6 +55,8 @@ TEST_F(PipeTest, OpenAsReader) {
}
#endif
+// This test is flaky on Windows on Arm.
+#ifndef _WIN32
TEST_F(PipeTest, WriteWithTimeout) {
Pipe pipe;
ASSERT_THAT_ERROR(pipe.CreateNew(false).ToError(), llvm::Succeeded());
@@ -150,3 +152,4 @@ TEST_F(PipeTest, WriteWithTimeout) {
.ToError(),
llvm::Succeeded());
}
+#endif /*ifndef _WIN32*/
More information about the lldb-commits
mailing list