Attempt to deflake DBSSTTest.DBWithSFMForBlobFilesAtomicFlush (#9241)
Summary: When using the SST file manager, the actual deletion of DB files potentially occurs in the background. The patch adds another call to `SstFileManagerImpl::WaitForEmptyTrash` to the test case `DBSSTTest.DBWithSFMForBlobFilesAtomicFlush` to ensure the deletions are performed before the test checks the number of deleted files. Pull Request resolved: https://github.com/facebook/rocksdb/pull/9241 Test Plan: ``` gtest-parallel --repeat=1000 ./db_sst_test --gtest_filter=DBSSTTest.DBWithSFMForBlobFilesAtomicFlush ``` Reviewed By: akankshamahajan15 Differential Revision: D32811427 Pulled By: ltamasi fbshipit-source-id: 7f2ad649a22bd2d7900e5f132372034093cfcf47main
parent
77c7085594
commit
930f2e92e6
Loading…
Reference in new issue