From c516e63684fe23def2626ddfefcec11f1806f062 Mon Sep 17 00:00:00 2001 From: Lukas Larsson Date: Mon, 7 Mar 2011 12:23:31 +0100 Subject: Add short sleep to prevent timing issues on slow machines --- lib/tools/test/cover_SUITE.erl | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/tools/test/cover_SUITE.erl b/lib/tools/test/cover_SUITE.erl index b55a1ddc7a..c3f691e773 100644 --- a/lib/tools/test/cover_SUITE.erl +++ b/lib/tools/test/cover_SUITE.erl @@ -350,6 +350,7 @@ distribution(Config) when is_list(Config) -> %% Check that stop() unloads on all nodes ?line ok = cover:stop(), + ?line timer:sleep(100), %% Give nodes time to unload on slow machines. ?line LocalBeam = code:which(f), ?line N2Beam = rpc:call(N2,code,which,[f]), ?line true = is_unloaded(LocalBeam), -- cgit v1.2.3