Skip to content

Commit

Permalink
Disable non-blocking async file io in test.
Browse files Browse the repository at this point in the history
  • Loading branch information
cyber-pc committed Jan 23, 2025
1 parent 1c6f00c commit 30e5aca
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions test/file_io.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,9 @@ bool verifyResult(int id, bool largeFile = false)
return testPass;
}

TEST(TestAsyncFileIO, AsyncSaveFile)
#if 0

TEST(TestAsyncFileIO, AsyncNonBlockingSaveFile)
{
fileSystem.initTestData();

Expand Down Expand Up @@ -354,7 +356,7 @@ TEST(TestAsyncFileIO, AsyncSaveFile)
EXPECT_EQ(testPass, THREAD_COUNT);
}

TEST(TestAsyncFileIO, AsyncSaveLargeFile)
TEST(TestAsyncFileIO, AsyncNonBlockingSaveLargeFile)
{
fileSystem.initTestData();

Expand Down Expand Up @@ -388,7 +390,9 @@ TEST(TestAsyncFileIO, AsyncSaveLargeFile)
EXPECT_EQ(testPass, THREAD_COUNT);
}

TEST(TestAsyncFileIO, AsyncBlockingSaveFile)
#endif

TEST(TestAsyncFileIO, AsyncSaveFile)
{
fileSystem.initTestData();

Expand Down Expand Up @@ -444,7 +448,7 @@ TEST(TestAsyncFileIO, AsyncBlockingSaveFile)
EXPECT_EQ(testPass, THREAD_COUNT);
}

TEST(TestAsyncFileIO, AsyncBlockingSaveLargeFile)
TEST(TestAsyncFileIO, AsyncSaveLargeFile)
{
fileSystem.initTestData();

Expand Down

0 comments on commit 30e5aca

Please sign in to comment.