summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTim Watson <watson.timothy@gmail.com>2013-01-22 12:16:09 +0000
committerTim Watson <watson.timothy@gmail.com>2013-01-22 12:16:09 +0000
commit875a3e7002880af0bb6447a49900ebc7ab635519 (patch)
tree9092e74381b53c520b012ad5166ce6aef6febfca /src
parent62b6fb9804b2c29b4583b69e11bb55fb40e0ecad (diff)
downloadrabbitmq-server-git-875a3e7002880af0bb6447a49900ebc7ab635519.tar.gz
revert spurious changes to test timings
Diffstat (limited to 'src')
-rw-r--r--src/test_sup.erl4
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) ->