diff options
author | Dan Gudmundsson <[email protected]> | 2015-01-14 16:24:09 +0100 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2015-02-10 15:27:16 +0100 |
commit | cde9cccfa1c4c262cccfb87299689e11c9cc8677 (patch) | |
tree | ed7a349c9d2375d856e46fcc4037d5ba3a3f1648 /lib/mnesia/test/mnesia_recovery_test.erl | |
parent | 99086ccdade5f00319edd7becade51546e2b1f70 (diff) | |
download | otp-cde9cccfa1c4c262cccfb87299689e11c9cc8677.tar.gz otp-cde9cccfa1c4c262cccfb87299689e11c9cc8677.tar.bz2 otp-cde9cccfa1c4c262cccfb87299689e11c9cc8677.zip |
mnesia: better debug info when tests fail
Diffstat (limited to 'lib/mnesia/test/mnesia_recovery_test.erl')
-rw-r--r-- | lib/mnesia/test/mnesia_recovery_test.erl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/mnesia/test/mnesia_recovery_test.erl b/lib/mnesia/test/mnesia_recovery_test.erl index 24c35a82c5..fe4526878c 100644 --- a/lib/mnesia/test/mnesia_recovery_test.erl +++ b/lib/mnesia/test/mnesia_recovery_test.erl @@ -320,7 +320,9 @@ read_during_down(Op, Config) when is_list(Config) -> ?log("W2R ~p~n", [W2R]), loop_and_kill_mnesia(10, hd(W2R), Tabs), [Pid ! self() || Pid <- Readers], - ?match([ok, ok, ok], [receive ok -> ok after 1000 -> {Pid, mnesia_lib:dist_coredump()} end || Pid <- Readers]), + ?match([ok, ok, ok], + [receive ok -> ok after 5000 -> {Pid, mnesia_lib:dist_coredump()} end + || Pid <- Readers]), ?verify_mnesia(Ns, []). reader(Tab, OP) -> |