summaryrefslogtreecommitdiff
path: root/same/src/test/java/com/orbekk/same/MasterTest.java
diff options
context:
space:
mode:
authorKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-04-17 15:37:31 +0200
committerKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-04-17 15:37:31 +0200
commita1060ee59fe7c9107641543babe950250835fa4b (patch)
treecec1c4d5d46d40e3e6f9ce1e9e7eba3564145b8b /same/src/test/java/com/orbekk/same/MasterTest.java
parenta6a1c550731caaa2e46aab2112b81f318da229aa (diff)
Client.startMasterElection() uses protobuf service.
Diffstat (limited to 'same/src/test/java/com/orbekk/same/MasterTest.java')
-rw-r--r--same/src/test/java/com/orbekk/same/MasterTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/same/src/test/java/com/orbekk/same/MasterTest.java b/same/src/test/java/com/orbekk/same/MasterTest.java
index 8830c10..22414fe 100644
--- a/same/src/test/java/com/orbekk/same/MasterTest.java
+++ b/same/src/test/java/com/orbekk/same/MasterTest.java
@@ -65,6 +65,8 @@ public class MasterTest {
connections.clientMap.put("http://client/ClientService.json", clientS);
client.joinNetwork(master.getMasterInfo());
master.performWork();
+ System.out.println(state);
+ System.out.println(master.state);
assertTrue(state.getList(".participants").contains("http://client/ClientService.json"));
assertEquals(state, client.testGetState());
}