]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
TestPGLog::proc_replica_log: call doesn't adjust olog
authorSamuel Just <sam.just@inktank.com>
Sat, 8 Mar 2014 00:48:11 +0000 (16:48 -0800)
committerSamuel Just <sam.just@inktank.com>
Sat, 8 Mar 2014 00:53:51 +0000 (16:53 -0800)
We don't adjust head with proc_replica_log, don't assert that
it's been adjusted.

Signed-off-by: Samuel Just <sam.just@inktank.com>
src/test/osd/TestPGLog.cc

index eba3faaf4c3984803876924be216cb33de30c601..41517a3838314618a54885c2f55de9038431bcf3 100644 (file)
@@ -1354,8 +1354,6 @@ TEST_F(PGLogTest, proc_replica_log) {
 
     EXPECT_TRUE(t.empty());
     EXPECT_FALSE(omissing.have_missing());
-    EXPECT_EQ(olog.head, oinfo.last_update);
-    EXPECT_EQ(olog.head, oinfo.last_complete);
   }
 
  {