]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commitdiff
Disable DBTest.RepeatedWritesToSameKey (#1420)
authorSiying Dong <siying.d@fb.com>
Tue, 25 Oct 2016 17:23:50 +0000 (10:23 -0700)
committerIslam AbdelRahman <tec@fb.com>
Tue, 25 Oct 2016 17:23:50 +0000 (10:23 -0700)
Summary:
The verification condition of the test DBTest.RepeatedWritesToSameKey doesn't hold anymore after 3ce3bb3da2486c2c18a332128dda7c05a91abb85.
Disable the test for now before we find a way to replace it.

Test Plan: Run the test and make sure it is disabled.

db/db_test.cc

index a65334de7f9b624021cc32b8b32c5f5bc5a0f68d..2ca489384887839de9be26f8eca533f9edddd5f0 100644 (file)
@@ -1252,7 +1252,9 @@ TEST_F(DBTest, MinLevelToCompress2) {
   MinLevelHelper(this, options);
 }
 
-TEST_F(DBTest, RepeatedWritesToSameKey) {
+// This test may fail because of a legit case that multiple L0 files
+// are trivial moved to L1.
+TEST_F(DBTest, DISABLED_RepeatedWritesToSameKey) {
   do {
     Options options = CurrentOptions();
     options.env = env_;