]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
tests: remove TestPGLog ASSERT_DEATH test 21135/head
authorNathan Cutler <ncutler@suse.com>
Thu, 29 Mar 2018 09:40:09 +0000 (11:40 +0200)
committerNathan Cutler <ncutler@suse.com>
Fri, 30 Mar 2018 05:15:20 +0000 (07:15 +0200)
Fixes: http://tracker.ceph.com/issues/23504
Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit adcba97a41795c25de8b6dfe263a1014564a305f)

Conflicts:
src/test/osd/TestPGLog.cc (the code being removed is slightly different in jewel)

src/test/osd/TestPGLog.cc

index 6fae74ab43253927f43172ae71e39e409d2fcda5..e65a2ae7f6614563ed3871a255af4c1b98038e3d 100644 (file)
@@ -1205,27 +1205,6 @@ TEST_F(PGLogTest, merge_log) {
     EXPECT_TRUE(dirty_big_info);
   }
 
-  // If our log is empty, the incoming log needs to have not been trimmed.
-  {
-    clear();
-
-    ObjectStore::Transaction t;
-    pg_log_t olog;
-    pg_info_t oinfo;
-    pg_shard_t fromosd;
-    pg_info_t info;
-    list<hobject_t> remove_snap;
-    bool dirty_info = false;
-    bool dirty_big_info = false;
-
-    // olog has been trimmed
-    olog.tail = eversion_t(1, 1);
-
-    TestHandler h(remove_snap);
-    ASSERT_DEATH(merge_log(t, oinfo, olog, fromosd, info, &h,
-                          dirty_info, dirty_big_info), "");
-  }
-
 }
 
 TEST_F(PGLogTest, proc_replica_log) {