diff options
Diffstat (limited to 'same/src/test/java')
-rw-r--r-- | same/src/test/java/com/orbekk/same/FunctionalTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/same/src/test/java/com/orbekk/same/FunctionalTest.java b/same/src/test/java/com/orbekk/same/FunctionalTest.java index 2a73656..7b50b5a 100644 --- a/same/src/test/java/com/orbekk/same/FunctionalTest.java +++ b/same/src/test/java/com/orbekk/same/FunctionalTest.java @@ -147,7 +147,7 @@ public class FunctionalTest { client1.setMasterController(controller); client2.setMasterController(controller); client3.setMasterController(controller); - client1.startMasterElection(); + client1.startMasterElection(master.getMasterInfo()); awaitExecution(); newMaster.performWork(); assertThat(client1.getMaster().getMasterLocation(), is(newMasterLocation)); @@ -176,7 +176,7 @@ public class FunctionalTest { client1.setMasterController(controller); client2.setMasterController(controller); client3.setMasterController(controller); - client1.startMasterElection(); + client1.startMasterElection(master.getMasterInfo()); awaitExecution(); newMaster.performWork(); assertThat(client1.getMaster().getMasterUrl(), is(newMasterUrl)); |