aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2015-01-14 14:51:47 +0100
committerDan Gudmundsson <[email protected]>2015-01-14 14:51:47 +0100
commit99086ccdade5f00319edd7becade51546e2b1f70 (patch)
tree398c0bf6200a687e4e204989808b12b1565ed5bc /lib
parent6624d531fddfb09a86b6960d76f9174bf5c686e4 (diff)
downloadotp-99086ccdade5f00319edd7becade51546e2b1f70.tar.gz
otp-99086ccdade5f00319edd7becade51546e2b1f70.tar.bz2
otp-99086ccdade5f00319edd7becade51546e2b1f70.zip
mnesia: Ensure tables are loaded before testing them
Diffstat (limited to 'lib')
-rw-r--r--lib/mnesia/test/mnesia_recovery_test.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/mnesia/test/mnesia_recovery_test.erl b/lib/mnesia/test/mnesia_recovery_test.erl
index 0d0ad32fb0..24c35a82c5 100644
--- a/lib/mnesia/test/mnesia_recovery_test.erl
+++ b/lib/mnesia/test/mnesia_recovery_test.erl
@@ -1537,6 +1537,7 @@ disc_less(Config) when is_list(Config) ->
timer:sleep(500),
?match(ok, rpc:call(Node3, mnesia, start, [[{extra_db_nodes, [Node1, Node2]}]])),
?match(ok, rpc:call(Node3, mnesia, wait_for_tables, [[Tab1, Tab2, Tab3], 20000])),
+ ?match(ok, rpc:call(Node1, mnesia, wait_for_tables, [[Tab1, Tab2, Tab3], 20000])),
?match(ok, rpc:call(Node3, ?MODULE, verify_data, [Tab1, 100])),
?match(ok, rpc:call(Node3, ?MODULE, verify_data, [Tab2, 100])),