Fix unit test which breaks lite build
Summary: Comment out assertion of number of table files from lite build. Test Plan: OPT=-DROCKSDB_LITE make check Reviewers: lightmark Reviewed By: lightmark Subscribers: andrewkr, dhruba, leveldb Differential Revision: https://reviews.facebook.net/D60999
This commit is contained in:
parent
2462cebfe8
commit
c7eb50b132
@ -42,8 +42,9 @@ TEST_F(DBFlushTest, FlushWhileWritingManifest) {
|
|||||||
ASSERT_OK(dbfull()->Flush(no_wait));
|
ASSERT_OK(dbfull()->Flush(no_wait));
|
||||||
// If the issue is hit we will wait here forever.
|
// If the issue is hit we will wait here forever.
|
||||||
dbfull()->TEST_WaitForFlushMemTable();
|
dbfull()->TEST_WaitForFlushMemTable();
|
||||||
|
#ifndef ROCKSDB_LITE
|
||||||
ASSERT_EQ(2, TotalTableFiles());
|
ASSERT_EQ(2, TotalTableFiles());
|
||||||
|
#endif // ROCKSDB_LITE
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace rocksdb
|
} // namespace rocksdb
|
||||||
|
Loading…
Reference in New Issue
Block a user