[*] Update unbuffered/directio test to write at least sector size bytes under NT (usually 512)

[*] Update runtime
This commit is contained in:
Reece Wilson 2022-04-15 19:23:59 +01:00
parent 9141a0015c
commit 384b27c48b
2 changed files with 3 additions and 3 deletions

@ -1 +1 @@
Subproject commit 9f2ff9de1952c440b62772a51506493dfed927d4 Subproject commit 7a0d9701b5754c3001c9ece739f804310c410e96

View File

@ -192,7 +192,7 @@ TEST(FS, Async)
auto stream = AuIOFS::OpenAsyncUnique("./AsyncFile", AuIOFS::EFileOpenMode::eReadWrite, true); auto stream = AuIOFS::OpenAsyncUnique("./AsyncFile", AuIOFS::EFileOpenMode::eReadWrite, true);
ASSERT_TRUE(bool(stream)); ASSERT_TRUE(bool(stream));
AuByteBuffer rngbuffer(32); AuByteBuffer rngbuffer(512);
AuRng::RngFillRange(rngbuffer); AuRng::RngFillRange(rngbuffer);
auto transaction = stream->NewTransaction(); auto transaction = stream->NewTransaction();
@ -218,7 +218,7 @@ TEST(FS, AsyncAltWait)
auto stream = AuIOFS::OpenAsyncUnique("./AsyncFile", AuIOFS::EFileOpenMode::eReadWrite, true); auto stream = AuIOFS::OpenAsyncUnique("./AsyncFile", AuIOFS::EFileOpenMode::eReadWrite, true);
ASSERT_TRUE(bool(stream)); ASSERT_TRUE(bool(stream));
AuByteBuffer rngbuffer(32); AuByteBuffer rngbuffer(512);
AuRng::RngFillRange(rngbuffer); AuRng::RngFillRange(rngbuffer);
auto transaction = stream->NewTransaction(); auto transaction = stream->NewTransaction();