]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test: correct journal test failure caused by two merged commits
authorJason Dillaman <dillaman@redhat.com>
Thu, 10 Mar 2016 12:58:31 +0000 (07:58 -0500)
committerJason Dillaman <dillaman@redhat.com>
Thu, 10 Mar 2016 12:58:31 +0000 (07:58 -0500)
Commit 21d9595 changed the journal width to 3 objects while commit
a00eae0 changed the signature of the journal create helper.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/test/journal/test_JournalPlayer.cc

index e191876bfd52562a008b897b4e91a1a0e1c39b3f..3f992cbe586fd345bcf10c9063d633b3611e8fc0 100644 (file)
@@ -240,7 +240,7 @@ TEST_F(TestJournalPlayer, PrefetchMultipleTags) {
     cls::journal::ObjectPosition(0, 234, 120)};
   cls::journal::ObjectSetPosition commit_position(positions);
 
-  ASSERT_EQ(0, create(oid, 3));
+  ASSERT_EQ(0, create(oid, 14, 3));
   ASSERT_EQ(0, client_register(oid));
   ASSERT_EQ(0, client_commit(oid, commit_position));