Move general compaction tests from db_test.cc to db_compaction_test.cc

Summary: Move general compaction tests from db_test.cc to db_compaction_test.cc

Test Plan:
db_test
db_compaction_test

Reviewers: igor, sdong, IslamAbdelRahman, anthony

Reviewed By: anthony

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D42651
main
Yueh-Hsuan Chiang 10 years ago
parent 0adecd9f4f
commit 7219088cda
  1. 1
      CMakeLists.txt
  2. 4
      Makefile
  3. 1656
      db/db_compaction_test.cc
  4. 1666
      db/db_test.cc
  5. 1
      src.mk

@ -257,6 +257,7 @@ set(TESTS
db/db_log_iter_test.cc
db/db_test.cc
db/db_compaction_filter_test.cc
db/db_compaction_test.cc
db/db_dynamic_level_test.cc
db/db_inplace_update_test.cc
db/db_log_iter_test.cc

@ -222,6 +222,7 @@ TESTS = \
db_iter_test \
db_log_iter_test \
db_compaction_filter_test \
db_compaction_test \
db_dynamic_level_test \
db_inplace_update_test \
db_tailing_iter_test \
@ -689,6 +690,9 @@ db_log_iter_test: db/db_log_iter_test.o util/db_test_util.o $(LIBOBJECTS) $(TEST
db_compaction_filter_test: db/db_compaction_filter_test.o util/db_test_util.o $(LIBOBJECTS) $(TESTHARNESS)
$(AM_LINK)
db_compaction_test: db/db_compaction_test.o util/db_test_util.o $(LIBOBJECTS) $(TESTHARNESS)
$(AM_LINK)
db_dynamic_level_test: db/db_dynamic_level_test.o util/db_test_util.o $(LIBOBJECTS) $(TESTHARNESS)
$(AM_LINK)

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -165,6 +165,7 @@ TEST_BENCH_SOURCES = \
db/db_iter_test.cc \
db/db_test.cc \
db/db_compaction_filter_test.cc \
db/db_compaction_test.cc \
db/db_dynamic_level_test.cc \
db/db_inplace_update_test.cc \
db/db_log_iter_test.cc \

Loading…
Cancel
Save