Skip to content

Commit

Permalink
fix log
Browse files Browse the repository at this point in the history
  • Loading branch information
frs69wq committed May 14, 2024
1 parent c51dabc commit e382499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/jbod_storage_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ TEST_F(JBODStorageTest, SingleWrite) {
ASSERT_DOUBLE_EQ(file->write(0), 0);
XBT_INFO("Write 200MB at /dev/a/foo.txt, which should not work");
ASSERT_THROW(file->write("200MB"), sgfs::FileSystemException);
XBT_INFO("Write 10kB at /dev/a/foo.txt");
XBT_INFO("Write 2MB at /dev/a/foo.txt");
ASSERT_DOUBLE_EQ(file->write("2MB"), 2000000);
XBT_INFO("Check remaining space");
ASSERT_DOUBLE_EQ(fs_->partition_by_name("/dev/a")->get_free_space(), 98 * 1000 * 1000);
Expand Down

0 comments on commit e382499

Please sign in to comment.