diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2011-10-14 14:18:44 +0100 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2011-10-14 14:18:44 +0100 |
| commit | 7c0a6ba3abd29d9ab0f4ca72c8c2e48b86064281 (patch) | |
| tree | 0bf2fab3bcc0ee34346094d1bdaba6089b81ef1c | |
| parent | 8c11990a09621282cb5674cf7a70e35ee438001d (diff) | |
| download | rabbitmq-server-git-7c0a6ba3abd29d9ab0f4ca72c8c2e48b86064281.tar.gz | |
Give the supervisor hierarchy a chance to quiesce at the end of each test.
| -rw-r--r-- | src/mirrored_supervisor_tests.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mirrored_supervisor_tests.erl b/src/mirrored_supervisor_tests.erl index ee9c759374..5e782a08d3 100644 --- a/src/mirrored_supervisor_tests.erl +++ b/src/mirrored_supervisor_tests.erl @@ -202,6 +202,7 @@ with_sups(Fun, Sups) -> Pids = [begin {ok, Pid} = start_sup(Sup), Pid end || Sup <- Sups], Fun(Pids), [kill(Pid) || Pid <- Pids, is_process_alive(Pid)], + timer:sleep(100), passed. start_sup(Spec) -> |
