Fix LITE build (#6575)

Summary:
Fix LITE build by excluding some unit tests that use features not supported in LITE.
```
db/db_basic_test.cc:1778:8: error: ‘void rocksdb::{anonymous}::TableFileListener::OnTableFileCreated(const rocksdb::TableFileCreationInfo&)’ marked ‘override’, but does not override
   void OnTableFileCreated(const TableFileCreationInfo& info) override {
        ^~~~~~~~~~~~~~~~~~
make: *** [db/db_basic_test.o] Error 1
```
Pull Request resolved: https://github.com/facebook/rocksdb/pull/6575

Reviewed By: ltamasi

Differential Revision: D20598598

Pulled By: riversand963

fbshipit-source-id: 367f7cb2500360ad57030b138a94c0f731a04339
This commit is contained in:
Yanqin Jin 2020-03-23 12:59:04 -07:00 committed by Facebook GitHub Bot
parent 5c6346c420
commit 617f479266

View file

@ -1772,6 +1772,7 @@ TEST_F(DBBasicTest, IncrementalRecoveryNoCorrupt) {
}
}
#ifndef ROCKSDB_LITE
namespace {
class TableFileListener : public EventListener {
public:
@ -1885,6 +1886,7 @@ TEST_F(DBBasicTest, SkipWALIfMissingTableFiles) {
iter->Next();
ASSERT_FALSE(iter->Valid());
}
#endif // !ROCKSDB_LITE
class DBBasicTestWithParallelIO
: public DBTestBase,