diff options
author | Lukas Larsson <[email protected]> | 2011-03-07 12:23:31 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2011-03-07 12:23:31 +0100 |
commit | c516e63684fe23def2626ddfefcec11f1806f062 (patch) | |
tree | 6fee85bf70ba91ddd90d8b47597eff2f43516ebe /lib | |
parent | 635c78f152ee6c7ddda23bf237e7ad3aa70abe77 (diff) | |
download | otp-c516e63684fe23def2626ddfefcec11f1806f062.tar.gz otp-c516e63684fe23def2626ddfefcec11f1806f062.tar.bz2 otp-c516e63684fe23def2626ddfefcec11f1806f062.zip |
Add short sleep to prevent timing issues on slow machines
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tools/test/cover_SUITE.erl | 1 |
1 files changed, 1 insertions, 0 deletions
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), |