aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2016-06-09 16:57:47 +0200
committerSiri Hansen <[email protected]>2016-06-15 15:28:43 +0200
commitc8a4098692b5ad5c813f7f97557800ea638db652 (patch)
tree08f17ba8d6744a34239f8b9171bd78cbdaeb34b1
parent0c9e037ce8c1eab9a2c7c1bcbbd4cbe3478dca47 (diff)
downloadotp-c8a4098692b5ad5c813f7f97557800ea638db652.tar.gz
otp-c8a4098692b5ad5c813f7f97557800ea638db652.tar.bz2
otp-c8a4098692b5ad5c813f7f97557800ea638db652.zip
Add short sleep when killing slave nodes
slave_SUITE:t_start_link somtimes fails when checking that a slave is dead. This commit add a short sleep before the check to allow the node to terminate.
-rw-r--r--lib/stdlib/test/slave_SUITE.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/stdlib/test/slave_SUITE.erl b/lib/stdlib/test/slave_SUITE.erl
index 25b706e81f..7525cf78de 100644
--- a/lib/stdlib/test/slave_SUITE.erl
+++ b/lib/stdlib/test/slave_SUITE.erl
@@ -71,6 +71,7 @@ t_start_link(Config) when is_list(Config) ->
rpc:cast(Slave1, erlang, halt, []),
rpc:cast(Slave2, erlang, halt, []),
+ ct:sleep(250),
is_dead(Slave1),
is_dead(Slave2),