mirror of
https://github.com/ceph/ceph
synced 2025-01-31 23:44:10 +00:00
Merge pull request #15365 from ShiqiCooperation/newshiqi
test/unittest_bluefs: When fsync ret is less than 0, fsync can not be… Reviewed-by: Varada Kari <varada.kari@gmail.com>
This commit is contained in:
commit
d85f4bb4ca
@ -125,7 +125,7 @@ TEST(BlueFS, small_appends) {
|
||||
ASSERT_EQ(0, fs.open_for_write("dir", "file_sync", &h, false));
|
||||
for (unsigned i = 0; i < 1000; ++i) {
|
||||
h->append("abcdeabcdeabcdeabcdeabcdeabc", 23);
|
||||
fs.fsync(h);
|
||||
ASSERT_EQ(0, fs.fsync(h));
|
||||
}
|
||||
fs.close_writer(h);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user