Skip to content

Commit

Permalink
Merge pull request ceph#21117 from smithfarm/wip-23504
Browse files Browse the repository at this point in the history
tests: remove TestPGLog ASSERT_DEATH test

Reviewed-by: Brad Hubbard <[email protected]>
Reviewed-by: Adam C. Emerson <[email protected]>
Reviewed-by: Josh Durgin <[email protected]>
Reviewed-by: xie xingguo <[email protected]>
Reviewed-by: Kefu Chai <[email protected]>
  • Loading branch information
tchaikov authored Mar 30, 2018
2 parents 0e3d565 + adcba97 commit 9e8af3e
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions src/test/osd/TestPGLog.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1388,27 +1388,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();

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);
PrCtl unset_dumpable;
ASSERT_DEATH(merge_log(oinfo, olog, fromosd, info, &h,
dirty_info, dirty_big_info), "");
}

}

TEST_F(PGLogTest, proc_replica_log) {
Expand Down

0 comments on commit 9e8af3e

Please sign in to comment.