From 657464508f709958f817e1fa4adb173fe1124193 Mon Sep 17 00:00:00 2001 From: Andre Henriques Date: Thu, 4 Jan 2024 13:41:05 +0000 Subject: [PATCH] Reneabled all the tests --- lib/test_script.exs | 56 ++++++++++++++++++++++----------------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/lib/test_script.exs b/lib/test_script.exs index 5a7c84b..a787d37 100755 --- a/lib/test_script.exs +++ b/lib/test_script.exs @@ -21,34 +21,34 @@ test_suite = [ # Use TestUtil.get_local_config(n) to generate a single-node configuration # consisting of n processes, all running on the same node. - # {&PaxosTest.run_simple/3, TestUtil.get_local_config(3), 10, - # "No failures, no concurrent ballots, 3 local procs"}, - # {&PaxosTest.run_simple/3, TestUtil.get_dist_config(host, 3), 10, - # "No failures, no concurrent ballots, 3 nodes"}, - # {&PaxosTest.run_simple/3, TestUtil.get_local_config(5), 10, - # "No failures, no concurrent ballots, 5 local procs"}, - # {&PaxosTest.run_simple_2/3, TestUtil.get_dist_config(host, 3), 10, - # "No failures, 2 concurrent ballots, 3 nodes"}, - # {&PaxosTest.run_simple_2/3, TestUtil.get_local_config(3), 10, - # "No failures, 2 concurrent ballots, 3 local procs"}, - # {&PaxosTest.run_simple_3/3, TestUtil.get_local_config(3), 10, - # "No failures, 2 concurrent instances, 3 local procs"}, - # {&PaxosTest.run_simple_many_1/3, TestUtil.get_dist_config(host, 5), 10, - # "No failures, many concurrent ballots 1, 5 nodes"}, - # {&PaxosTest.run_simple_many_1/3, TestUtil.get_local_config(5), 10, - # "No failures, many concurrent ballots 1, 5 local procs"}, - # {&PaxosTest.run_simple_many_2/3, TestUtil.get_dist_config(host, 5), 10, - # "No failures, many concurrent ballots 2, 5 nodes"}, - # {&PaxosTest.run_simple_many_2/3, TestUtil.get_local_config(5), 10, - # "No failures, many concurrent ballots 2, 5 local procs"}, - # {&PaxosTest.run_non_leader_crash/3, TestUtil.get_dist_config(host, 3), 10, - # "One non-leader crashes, no concurrent ballots, 3 nodes"}, - # {&PaxosTest.run_non_leader_crash/3, TestUtil.get_local_config(3), 10, - # "One non-leader crashes, no concurrent ballots, 3 local procs"}, - # {&PaxosTest.run_minority_non_leader_crash/3, TestUtil.get_dist_config(host, 5), 10, - # "Minority non-leader crashes, no concurrent ballots"}, - # {&PaxosTest.run_minority_non_leader_crash/3, TestUtil.get_local_config(5), 10, - # "Minority non-leader crashes, no concurrent ballots"}, + {&PaxosTest.run_simple/3, TestUtil.get_local_config(3), 10, + "No failures, no concurrent ballots, 3 local procs"}, + {&PaxosTest.run_simple/3, TestUtil.get_dist_config(host, 3), 10, + "No failures, no concurrent ballots, 3 nodes"}, + {&PaxosTest.run_simple/3, TestUtil.get_local_config(5), 10, + "No failures, no concurrent ballots, 5 local procs"}, + {&PaxosTest.run_simple_2/3, TestUtil.get_dist_config(host, 3), 10, + "No failures, 2 concurrent ballots, 3 nodes"}, + {&PaxosTest.run_simple_2/3, TestUtil.get_local_config(3), 10, + "No failures, 2 concurrent ballots, 3 local procs"}, + {&PaxosTest.run_simple_3/3, TestUtil.get_local_config(3), 10, + "No failures, 2 concurrent instances, 3 local procs"}, + {&PaxosTest.run_simple_many_1/3, TestUtil.get_dist_config(host, 5), 10, + "No failures, many concurrent ballots 1, 5 nodes"}, + {&PaxosTest.run_simple_many_1/3, TestUtil.get_local_config(5), 10, + "No failures, many concurrent ballots 1, 5 local procs"}, + {&PaxosTest.run_simple_many_2/3, TestUtil.get_dist_config(host, 5), 10, + "No failures, many concurrent ballots 2, 5 nodes"}, + {&PaxosTest.run_simple_many_2/3, TestUtil.get_local_config(5), 10, + "No failures, many concurrent ballots 2, 5 local procs"}, + {&PaxosTest.run_non_leader_crash/3, TestUtil.get_dist_config(host, 3), 10, + "One non-leader crashes, no concurrent ballots, 3 nodes"}, + {&PaxosTest.run_non_leader_crash/3, TestUtil.get_local_config(3), 10, + "One non-leader crashes, no concurrent ballots, 3 local procs"}, + {&PaxosTest.run_minority_non_leader_crash/3, TestUtil.get_dist_config(host, 5), 10, + "Minority non-leader crashes, no concurrent ballots"}, + {&PaxosTest.run_minority_non_leader_crash/3, TestUtil.get_local_config(5), 10, + "Minority non-leader crashes, no concurrent ballots"}, {&PaxosTest.run_leader_crash_simple/3, TestUtil.get_dist_config(host, 5), 10, "Leader crashes, no concurrent ballots, 5 nodes"}, {&PaxosTest.run_leader_crash_simple/3, TestUtil.get_local_config(5), 10,