aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mnesia
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2010-10-04 19:03:41 +0200
committerLukas Larsson <[email protected]>2011-02-17 17:16:53 +0100
commite993afa1fb9c7143e09c55dee58aee32e9876d78 (patch)
tree3a3260cff260f14f885847b393b1136bd0e311e8 /lib/mnesia
parentd161dc2b44f29f184e60efcd460ed27b1ee0a0e1 (diff)
downloadotp-e993afa1fb9c7143e09c55dee58aee32e9876d78.tar.gz
otp-e993afa1fb9c7143e09c55dee58aee32e9876d78.tar.bz2
otp-e993afa1fb9c7143e09c55dee58aee32e9876d78.zip
Updated test cases to work with ts conversion algorithm
Diffstat (limited to 'lib/mnesia')
-rw-r--r--lib/mnesia/test/mnesia_install_test.erl7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/mnesia/test/mnesia_install_test.erl b/lib/mnesia/test/mnesia_install_test.erl
index 42a2a19f37..0c868a7449 100644
--- a/lib/mnesia/test/mnesia_install_test.erl
+++ b/lib/mnesia/test/mnesia_install_test.erl
@@ -86,11 +86,11 @@ silly2(Config) when is_list(Config) ->
[schema])),
MoveRes = silly_move(Config),
UpgradeRes = silly_upgrade(Config),
- StressRes = [StressFun(F) || F <- stress(suite)],
+ StressRes = [StressFun(F) || F <- stress_cases()],
?verify_mnesia([Node2], []),
[Res, MoveRes, UpgradeRes] ++ StressRes;
_ ->
- StressRes = [StressFun(F) || F <- stress(suite)],
+ StressRes = [StressFun(F) || F <- stress_cases()],
?warning("Too few nodes. Perform net_adm:ping(OtherNode) "
"and rerun!!!~n", []),
[Res | StressRes]
@@ -289,6 +289,9 @@ transform_some_records(Tab1, _Tab2, Old) ->
stress(doc) ->
["Stress the system a little"];
stress(suite) ->
+ stress_cases().
+
+stress_cases() ->
[
conflict,
dist