diff options
author | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-03-13 15:23:05 +0100 |
---|---|---|
committer | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-03-13 15:23:05 +0100 |
commit | f41eca9bee17f45981e41c273c3a50f5d04ff426 (patch) | |
tree | 05d70ee720cdebaa86f3af571d745a63c4e06dcb /same/src/test/java | |
parent | b256d125695da6b2a8eedd6f59ad07e94bd2b0bc (diff) |
Clients can become new masters.
Diffstat (limited to 'same/src/test/java')
-rw-r--r-- | same/src/test/java/com/orbekk/same/MasterTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/same/src/test/java/com/orbekk/same/MasterTest.java b/same/src/test/java/com/orbekk/same/MasterTest.java index 77f024a..ec0a56c 100644 --- a/same/src/test/java/com/orbekk/same/MasterTest.java +++ b/same/src/test/java/com/orbekk/same/MasterTest.java @@ -43,7 +43,8 @@ public class MasterTest { @Before public void setUp() { state.update(".masterUrl", "http://master/MasterService.json", 1); - master = new Master(state, connections, broadcaster); + master = new Master(state, connections, broadcaster, + "http://master/MasterService.json"); masterS = master.getService(); connections.masterMap.put("http://master/MasterService.json", masterS); |