diff options
| author | BMatajsz <90217645+BMatajsz@users.noreply.github.com> | 2024-12-03 12:47:55 -0500 |
|---|---|---|
| committer | BMatajsz <90217645+BMatajsz@users.noreply.github.com> | 2024-12-03 12:47:55 -0500 |
| commit | b0214bbc7e7a7ee6aac9dca2610060ac0f88dc77 (patch) | |
| tree | aa184461fd3611e4e439975bb3263ebafc39c085 /src | |
| parent | 450a17a490e6a37c36f4fc6e67b0454d266fe88b (diff) | |
| download | soen423-b0214bbc7e7a7ee6aac9dca2610060ac0f88dc77.zip | |
Modified args in test
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/java/derms/test/SystemTest.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/java/derms/test/SystemTest.java b/src/test/java/derms/test/SystemTest.java index 3a69bfb..818b4e9 100644 --- a/src/test/java/derms/test/SystemTest.java +++ b/src/test/java/derms/test/SystemTest.java @@ -87,7 +87,7 @@ class SystemTest { @Test void testByzantine() throws IOException { // Replica 1 - String[] argsRM = {"1", "MTL", IP, "1", "0"}; + String[] argsRM = {"1", "MTL", IP, IP, "1", "0"}; // [TODO] // Run the main function of the desired replica, for example: @@ -104,7 +104,7 @@ class SystemTest { @Test void testCrash() throws IOException { // Replica 1 - String[] argsRM = {"1", "MTL", IP, "0", "1"}; + String[] argsRM = {"1", "MTL", IP, IP, "0", "1"}; // [TODO] // Run the main function of the desired replica, for example: @@ -121,8 +121,8 @@ class SystemTest { @Test void testCombined() throws IOException { // Replica 1 and 2 - String[] argsRM1 = {"1", "MTL", IP, "1", "0"}; - String[] argsRM3 = {"3", "MTL", IP, "0", "1"}; + String[] argsRM1 = {"1", "MTL", IP, IP, "1", "0"}; + String[] argsRM3 = {"3", "MTL", IP, IP, "0", "1"}; // [TODO] // Run the main function of the desired TWO replicas, for example: |