summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/poolparty_test.exs5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/poolparty_test.exs b/test/poolparty_test.exs
index 6e66bda..ff12ec6 100644
--- a/test/poolparty_test.exs
+++ b/test/poolparty_test.exs
@@ -3,7 +3,10 @@ defmodule PoolPartyTest do
setup do
{:ok, pool} = PoolParty.start(nil, nil)
- on_exit(pool, fn -> Application.stop(pool) end)
+ on_exit(pool, fn ->
+ Application.stop(pool)
+ :timer.sleep(100)
+ end)
{:ok, pool: pool}
end