aboutsummaryrefslogtreecommitdiffstats
path: root/lib/observer/test/server.erl
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2011-10-28 11:09:49 +0200
committerSiri Hansen <[email protected]>2011-10-28 11:09:49 +0200
commit3e294fdb901018a0f3926a11ffe20a19b9494d79 (patch)
treec49c72fc9896517cfa100abf640e748ef48c4348 /lib/observer/test/server.erl
parent47bcd7451eb4a0b65bbd3a76852e6f2a5af10ce4 (diff)
parentecdf8f06ccd9506084676e496222e0697730728d (diff)
downloadotp-3e294fdb901018a0f3926a11ffe20a19b9494d79.tar.gz
otp-3e294fdb901018a0f3926a11ffe20a19b9494d79.tar.bz2
otp-3e294fdb901018a0f3926a11ffe20a19b9494d79.zip
Merge branch 'siri/observer/ttb-test-cleanup-slave-nodes/OTP-9644'
* siri/observer/ttb-test-cleanup-slave-nodes/OTP-9644: Adjust ttb_SUITE to work better on windows Cleanup after testcases in ttb_SUITE
Diffstat (limited to 'lib/observer/test/server.erl')
-rw-r--r--lib/observer/test/server.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/observer/test/server.erl b/lib/observer/test/server.erl
index c1b1fea562..f6d3542c96 100644
--- a/lib/observer/test/server.erl
+++ b/lib/observer/test/server.erl
@@ -16,8 +16,9 @@ stop() ->
loop(Data, Num) ->
receive
- {put,From,Ting} -> From ! ok,
+ {put,From,Ting} -> timer:sleep(2),
received(From,Ting),
+ From ! ok,
loop([Ting|Data], Num+1);
{get,From} -> From ! Data,
loop(Data, Num+1);