basho / riak_pipe

Riak Pipelines
Apache License 2.0
162 stars 60 forks source link

wait for riak_pipe node service, and unload apps on fullstop (AZ1033) #36

Closed beerriot closed 12 years ago

beerriot commented 12 years ago

Not waiting for the node watcher to declare riak_pipe service as up before running the test was causing preflist exhaustion errors. Not unloading apps after stopping them was causing re-starting them for the next test to fail.

jonmeredith commented 12 years ago

Should this be applied to 1.0 too? 1.0.3 made similar changes for startup behavior.

jonmeredith commented 12 years ago

Test ran fine for just riak_pipe (./rebar eunit app=riak_pipe -v) but had issues when running all tests under riak_ee master. Investigating root cause.


INFO:  Cover compiling /Users/jmeredith/basho/work/1.1-pre1/deps/riak_pipe
======================== EUnit ========================
module 'riak_pipe'
{"Kernel pid terminated",application_controller,{{badmatch,undefined},[{application_controller,unload,2},{application_controller,handle_call,3},{gen_server,handle_msg,5}]}}

Crash dump was written to: erl_crash.dump
Kernel pid terminated (application_controller) ()
beerriot commented 12 years ago

This PR was obsoleted by another. Closing without merging.