From 2c8aeb217cafc6154e41b28876dae6d2df12bfce Mon Sep 17 00:00:00 2001 From: Georges Berenger Date: Thu, 29 Aug 2024 02:47:17 -0700 Subject: [PATCH] Disable asyncdiskfile tests on windows/oss Summary: We're seeing failures in OSS/Windows tests only, let's disable for now. Differential Revision: D61964703 --- vrs/test/file_tests/DeviceSimulatorTest.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vrs/test/file_tests/DeviceSimulatorTest.cpp b/vrs/test/file_tests/DeviceSimulatorTest.cpp index 9091fb63..b99bc341 100644 --- a/vrs/test/file_tests/DeviceSimulatorTest.cpp +++ b/vrs/test/file_tests/DeviceSimulatorTest.cpp @@ -25,6 +25,7 @@ #include #include +#include #include #include @@ -127,6 +128,7 @@ TEST_F(DeviceSimulator, multiThreadAsyncAioNotDirect) { deleteChunkedFile(testPath); } +#if IS_VRS_FB_INTERNAL() || !IS_WINDOWS_PLATFORM() // avoid OSS/Windows TEST_F(DeviceSimulator, multiThreadAsyncSync) { const string testPath = os::getTempFolder() + "MultiThreadAsyncSync.vrs"; @@ -138,6 +140,7 @@ TEST_F(DeviceSimulator, multiThreadAsyncSync) { deleteChunkedFile(testPath); } +#endif TEST_F(DeviceSimulator, multiThreadAsyncPsync) { const string testPath = os::getTempFolder() + "MultiThreadAsyncPsync.vrs";