Fix open_revs fabric eunit test In check_workers_error_skipped last worker should be w3 not w2.
COUCHDB-3271 Project: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/commit/6fa8d3ca Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/tree/6fa8d3ca Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fabric/diff/6fa8d3ca Branch: refs/heads/master Commit: 6fa8d3ca004fb8fa658bc30abb0705e88fd810ab Parents: 998cf2d Author: Nick Vatamaniuc <[email protected]> Authored: Thu Jan 12 13:17:52 2017 -0500 Committer: Nick Vatamaniuc <[email protected]> Committed: Fri Jan 20 10:56:14 2017 -0500 ---------------------------------------------------------------------- src/fabric_doc_open_revs.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-fabric/blob/6fa8d3ca/src/fabric_doc_open_revs.erl ---------------------------------------------------------------------- diff --git a/src/fabric_doc_open_revs.erl b/src/fabric_doc_open_revs.erl index 8dad2c2..573cda7 100644 --- a/src/fabric_doc_open_revs.erl +++ b/src/fabric_doc_open_revs.erl @@ -465,7 +465,7 @@ check_worker_error_skipped() -> {ok, S1} = handle_message(Msg1, w1, S0), {ok, S2} = handle_message(Msg2, w2, S1), - ?assertEqual(Expect, handle_message(Msg3, w2, S2)) + ?assertEqual(Expect, handle_message(Msg3, w3, S2)) end).
