aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mnesia/test/mnesia_config_test.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2014-03-04 10:25:11 +0100
committerDan Gudmundsson <[email protected]>2014-03-28 09:55:57 +0100
commit51becf1a05c950857424314bc7f29e97fbd6456e (patch)
tree65936ee1f0b359574b496f8ff281bee0fb8cad6c /lib/mnesia/test/mnesia_config_test.erl
parentfaae15d89ac03fce87f0370b011ed71f85d83d8b (diff)
downloadotp-51becf1a05c950857424314bc7f29e97fbd6456e.tar.gz
otp-51becf1a05c950857424314bc7f29e97fbd6456e.tar.bz2
otp-51becf1a05c950857424314bc7f29e97fbd6456e.zip
mnesia: test harder sync
Diffstat (limited to 'lib/mnesia/test/mnesia_config_test.erl')
-rw-r--r--lib/mnesia/test/mnesia_config_test.erl7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/mnesia/test/mnesia_config_test.erl b/lib/mnesia/test/mnesia_config_test.erl
index 6baf86a4a5..c495bce63f 100644
--- a/lib/mnesia/test/mnesia_config_test.erl
+++ b/lib/mnesia/test/mnesia_config_test.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1997-2013. All Rights Reserved.
+%% Copyright Ericsson AB 1997-2014. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -639,10 +639,10 @@ send_compressed(Config) ->
end,
?match([], mnesia_test_lib:kill_mnesia([N2])),
-
+ sys:get_status(mnesia_monitor), %% sync N1
?match([], mnesia_test_lib:kill_mnesia([N1])),
?match(ok, mnesia:start([{send_compressed, 9}])),
- ?match(ok, mnesia:wait_for_tables([t0,t1,t2], 5000)),
+ ?match(ok, mnesia:wait_for_tables([t0,t1,t2], 25000)),
?match({atomic, ok}, mnesia:transaction(Create, [t0])),
?match({atomic, ok}, mnesia:transaction(Create, [t1])),
@@ -1158,6 +1158,7 @@ dynamic_basic(Config) when is_list(Config) ->
%%% SYNC!!!
timer:sleep(1000),
+ sys:get_status(mnesia_monitor),
?match([N3,N1], sort(rpc:call(N1, mnesia, system_info, [running_db_nodes]))),
?match([N3,N1], sort(rpc:call(N3, mnesia, system_info, [running_db_nodes]))),