Skip to content

Commit

Permalink
TestPGLog: fix noop log proc_replica_log test case
Browse files Browse the repository at this point in the history
Need to fill in log.head, olog.head.

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 1e5b220)
  • Loading branch information
athanatos authored and ldachary committed Jul 28, 2015
1 parent 549ff9a commit df71e6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/osd/TestPGLog.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1281,8 +1281,8 @@ TEST_F(PGLogTest, proc_replica_log) {
pg_shard_t from;

eversion_t last_update(1, 1);
oinfo.last_update = last_update;
eversion_t last_complete(2, 1);
log.head = olog.head = oinfo.last_update = last_update;
eversion_t last_complete(1, 1);
oinfo.last_complete = last_complete;

EXPECT_TRUE(t.empty());
Expand Down

0 comments on commit df71e6b

Please sign in to comment.