diff options
author | Dan Gudmundsson <[email protected]> | 2016-03-18 10:25:19 +0100 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2016-04-22 09:22:08 +0200 |
commit | 45f39ac829f6708b330f3ada8a133281a6853ff5 (patch) | |
tree | b727b83fa336a9e8ac376579af2a3007971eb5a8 /lib/mnesia/test/mnesia_consistency_test.erl | |
parent | 9b099a4b7a7a095aec04fe7fa02d97aa005c9323 (diff) | |
download | otp-45f39ac829f6708b330f3ada8a133281a6853ff5.tar.gz otp-45f39ac829f6708b330f3ada8a133281a6853ff5.tar.bz2 otp-45f39ac829f6708b330f3ada8a133281a6853ff5.zip |
mnesia: add debug printouts
and increase some timeouts for very slow machines (arm)
Diffstat (limited to 'lib/mnesia/test/mnesia_consistency_test.erl')
-rw-r--r-- | lib/mnesia/test/mnesia_consistency_test.erl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/mnesia/test/mnesia_consistency_test.erl b/lib/mnesia/test/mnesia_consistency_test.erl index 6c3e68ba38..9cc84de87b 100644 --- a/lib/mnesia/test/mnesia_consistency_test.erl +++ b/lib/mnesia/test/mnesia_consistency_test.erl @@ -565,6 +565,7 @@ consistency_after_fallback_3_disc_only(Config) when is_list(Config) -> consistency_after_fallback(disc_only_copies, 3, Config). consistency_after_fallback(ReplicaType, NodeConfig, Config) -> + put(mnesia_test_verbose, true), %%?verbose("Starting consistency_after_fallback2 at ~p~n", [self()]), Delay = 5, Nodes = ?acquire_nodes(NodeConfig, [{tc_timeout, timer:minutes(10)} | Config]), @@ -594,10 +595,11 @@ consistency_after_fallback(ReplicaType, NodeConfig, Config) -> ?match(ok, mnesia_tpcb:verify_tabs()), %% Stop and then start mnesia and check table consistency - %%?verbose("Restarting Mnesia~n", []), + ?verbose("Kill Mnesia~n", []), mnesia_test_lib:kill_mnesia(Nodes), + ?verbose("Start Mnesia~n", []), mnesia_test_lib:start_mnesia(Nodes,[account,branch,teller,history]), - + ?verbose("Verify tabs~n", []), ?match(ok, mnesia_tpcb:verify_tabs()), if ReplicaType == ram_copies -> |