mirror of
https://github.com/valitydev/riak_test.git
synced 2024-11-07 00:55:21 +00:00
Merge pull request #359 from basho/rz-wait-for-cmd
Faster wait_for_cmd that preserves order
This commit is contained in:
commit
10f327c7e9
@ -499,9 +499,6 @@ wait_for_cmd(Port) ->
|
||||
rt:wait_until(node(),
|
||||
fun(_) ->
|
||||
receive
|
||||
{Port, Msg={data, _}} ->
|
||||
self() ! {Port, Msg},
|
||||
false;
|
||||
{Port, Msg={exit_status, _}} ->
|
||||
catch port_close(Port),
|
||||
self() ! {Port, Msg},
|
||||
|
Loading…
Reference in New Issue
Block a user