Skip to content

Commit

Permalink
Add a fix me unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
jowlyzhang committed May 11, 2024
1 parent f336cd1 commit aae90f1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions db/external_sst_file_basic_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -674,6 +674,9 @@ TEST_F(ExternalSSTFileBasicTest, NoCopy) {
ASSERT_EQ(file3_info.smallest_key, Key(110));
ASSERT_EQ(file3_info.largest_key, Key(124));

ASSERT_OK(dbfull()->LockWAL());
// With below line, ingestion will block, without it, ingestion can go through.
// ASSERT_OK(dbfull()->Put(WriteOptions(), "vo", "vo"));
s = DeprecatedAddFile({file1}, true /* move file */);
ASSERT_OK(s) << s.ToString();
ASSERT_EQ(Status::NotFound(), env_->FileExists(file1));
Expand Down

0 comments on commit aae90f1

Please sign in to comment.