diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/test_sup.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test_sup.erl b/src/test_sup.erl index b84acdb442..955c44e6d7 100644 --- a/src/test_sup.erl +++ b/src/test_sup.erl @@ -50,7 +50,7 @@ test_supervisor_delayed_restart(SupPid) -> ok = exit_child(SupPid), timer:sleep(100), timeout = ping_child(SupPid), - timer:sleep(1100), + timer:sleep(1000), ok = ping_child(SupPid), passed. @@ -73,7 +73,7 @@ ping_child(SupPid) -> Ref = make_ref(), with_child_pid(SupPid, fun(ChildPid) -> ChildPid ! {ping, Ref, self()} end), receive {pong, Ref} -> ok - after 1100 -> timeout + after 1000 -> timeout end. exit_child(SupPid) -> |
