Skip to content

Commit

Permalink
small change
Browse files Browse the repository at this point in the history
  • Loading branch information
Yangyang Gao committed Oct 24, 2023
1 parent 568289d commit 7581910
Showing 1 changed file with 3 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -291,14 +291,9 @@ TEST_F(AbfsFileSystemTest, OpenFileForWriteTest) {
uint64_t totalSize = 0;
std::string randomData =
AbfsFileSystemTest::generateRandomData(1 * 1024 * 1024);
abfsWriteFile->append(randomData);
abfsWriteFile->append(randomData);
abfsWriteFile->append(randomData);
abfsWriteFile->append(randomData);
abfsWriteFile->append(randomData);
abfsWriteFile->append(randomData);
abfsWriteFile->append(randomData);
abfsWriteFile->append(randomData);
for (int i = 0; i < 8; ++i) {
abfsWriteFile->append(randomData);
}
totalSize = randomData.size() * 8;
abfsWriteFile->flush();
EXPECT_EQ(abfsWriteFile->size(), totalSize);
Expand Down

0 comments on commit 7581910

Please sign in to comment.