summaryrefslogtreecommitdiff
path: root/lib/observer/test/ttb_helper.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/observer/test/ttb_helper.erl')
-rw-r--r--lib/observer/test/ttb_helper.erl5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/observer/test/ttb_helper.erl b/lib/observer/test/ttb_helper.erl
index 05f6d73aef..0f6b8e81b1 100644
--- a/lib/observer/test/ttb_helper.erl
+++ b/lib/observer/test/ttb_helper.erl
@@ -70,7 +70,10 @@ msgs(N) ->
msgs_ip(N) ->
[c(client, put, [test_msg]) || _ <- lists:seq(1, N)],
s(server, received, [a,b]),
- timer:sleep(500). %% allow trace messages to arrive over tcp/ip
+ %% This is a very high sleep, it is needed for some of the slower
+ %% test machines. Ideally we would want to be able to react to
+ %% when the actual tcp packets arrive, but I'm not sure that is possible..
+ timer:sleep(5000). %% allow trace messages to arrive over tcp/ip
run() ->
ttb({local, "A"}),