update pipe handoff test for new fold req record

2.0 adds _v2, so we need to watch for that record as well
This commit is contained in:
Bryan Fink 2013-09-30 16:15:37 -04:00
parent 0572ca895b
commit 9a8f6e1b5b

View File

@ -163,7 +163,11 @@ confirm() ->
P1MovedPrimaryToSecondary,
P2MovedPrimaryToSecondary),
PFoldReqs = [X || riak_core_fold_req_v1=X <- PTraces],
PFoldReqs = [X || X <- PTraces,
%% it would be really nice to import ?FOLD_REQ
%% from riak_core_vnode.hrl
(X == riak_core_fold_req_v1 orelse
X == riak_core_fold_req_v2)],
PArchives = [X || cmd_archive=X <- PTraces],
%% number of active vnodes migrating from Primary to Secondary,