]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
TestPGLog: tests for proc_replica_log/merge_log equivalence 1354/head
authorSamuel Just <sam.just@inktank.com>
Mon, 3 Mar 2014 01:31:38 +0000 (17:31 -0800)
committerSamuel Just <sam.just@inktank.com>
Tue, 4 Mar 2014 00:05:17 +0000 (16:05 -0800)
commit20fe162ece32c44ee609bc44e22b99293246703f
tree095306b7ce5635ffe60d1daa3ee0dfb92b414cd2
parent9a64947ca138e4a66fc9ae13d1ebf35c313dc53c
TestPGLog: tests for proc_replica_log/merge_log equivalence

We need the merge_log and proc_replica_log paths to result in the
same missing set.  This patch adds some machinery for specifying
a log merge scenario and comparing both paths to the same correct
result.  This machinery also makes it a bit easier to read and add
new tests.

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