diff --git a/db/db_flush_test.cc b/db/db_flush_test.cc index 71062143b..ab4b1ab4c 100644 --- a/db/db_flush_test.cc +++ b/db/db_flush_test.cc @@ -42,8 +42,9 @@ TEST_F(DBFlushTest, FlushWhileWritingManifest) { ASSERT_OK(dbfull()->Flush(no_wait)); // If the issue is hit we will wait here forever. dbfull()->TEST_WaitForFlushMemTable(); - +#ifndef ROCKSDB_LITE ASSERT_EQ(2, TotalTableFiles()); +#endif // ROCKSDB_LITE } } // namespace rocksdb