Added explicit wait_for_service riak_pipe on pipe* tests...

... which didn't call the 2-arity version of deploy_nodes. NB
the /2 version implicitly waits on whatever services are specified.
This commit is contained in:
Alex Berghage 2015-04-06 10:36:06 -05:00
parent 2151fa6914
commit 5c5931b567
5 changed files with 11 additions and 1 deletions

View File

@ -42,6 +42,8 @@ confirm() ->
lager:info("Build ~b node cluster", [?NODE_COUNT]), lager:info("Build ~b node cluster", [?NODE_COUNT]),
Nodes = rt:build_cluster(?NODE_COUNT), Nodes = rt:build_cluster(?NODE_COUNT),
[rt:wait_for_service(Node, riak_pipe) || Node <- Nodes],
rt:load_modules_on_nodes([?MODULE], Nodes), rt:load_modules_on_nodes([?MODULE], Nodes),
verify_order(Nodes), verify_order(Nodes),

View File

@ -30,7 +30,9 @@
confirm() -> confirm() ->
lager:info("Build ~b node cluster", [?NODE_COUNT]), lager:info("Build ~b node cluster", [?NODE_COUNT]),
Nodes = rt:build_cluster(?NODE_COUNT), Nodes = rt:build_cluster(?NODE_COUNT),
[rt:wait_for_service(Node, riak_pipe) || Node <- Nodes],
verify_example(Nodes), verify_example(Nodes),
verify_example_transform(Nodes), verify_example_transform(Nodes),
verify_example_reduce(Nodes), verify_example_reduce(Nodes),

View File

@ -47,6 +47,8 @@ confirm() ->
lager:info("Build ~b node cluster", [?NODE_COUNT]), lager:info("Build ~b node cluster", [?NODE_COUNT]),
Nodes = rt:build_cluster(?NODE_COUNT), Nodes = rt:build_cluster(?NODE_COUNT),
[rt:wait_for_service(Node, riak_pipe) || Node <- Nodes],
rt:load_modules_on_nodes([?MODULE, rt_pipe], Nodes), rt:load_modules_on_nodes([?MODULE, rt_pipe], Nodes),
verify_xbad1(Nodes), verify_xbad1(Nodes),

View File

@ -54,6 +54,8 @@ confirm() ->
lager:info("Build ~b node cluster", [?NODE_COUNT]), lager:info("Build ~b node cluster", [?NODE_COUNT]),
Nodes = rt:build_cluster(?NODE_COUNT), Nodes = rt:build_cluster(?NODE_COUNT),
[rt:wait_for_service(Node, riak_pipe) || Node <- Nodes],
rt:load_modules_on_nodes([?MODULE, rt_pipe], Nodes), rt:load_modules_on_nodes([?MODULE, rt_pipe], Nodes),
verify_worker_restart_failure_input_forwarding(Nodes), verify_worker_restart_failure_input_forwarding(Nodes),

View File

@ -41,6 +41,8 @@ confirm() ->
lager:info("Build ~b node cluster", [?NODE_COUNT]), lager:info("Build ~b node cluster", [?NODE_COUNT]),
Nodes = rt:build_cluster(?NODE_COUNT), Nodes = rt:build_cluster(?NODE_COUNT),
[rt:wait_for_service(Node, riak_pipe) || Node <- Nodes],
verify_raw(Nodes), verify_raw(Nodes),
verify_fsm(Nodes), verify_fsm(Nodes),
verify_fsm_timeout(Nodes), verify_fsm_timeout(Nodes),