summaryrefslogtreecommitdiff
path: root/same/src/test/java/com
diff options
context:
space:
mode:
authorKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-01-16 17:43:44 +0100
committerKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-01-16 17:43:44 +0100
commit3800131c3ea981cb9cbaec1e58ed45921b0071d8 (patch)
tree4ea9ac4be7add9c53a789a9ae5cfbf1770bd29a1 /same/src/test/java/com
parentd3c525c8b85047b7189ba1430f5ad7bb9c1ef79a (diff)
Add assert in test of Master.
Diffstat (limited to 'same/src/test/java/com')
-rw-r--r--same/src/test/java/com/orbekk/same/MasterServiceImplTest.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/same/src/test/java/com/orbekk/same/MasterServiceImplTest.java b/same/src/test/java/com/orbekk/same/MasterServiceImplTest.java
index 0f27b98..3cd78d1 100644
--- a/same/src/test/java/com/orbekk/same/MasterServiceImplTest.java
+++ b/same/src/test/java/com/orbekk/same/MasterServiceImplTest.java
@@ -55,5 +55,6 @@ public class MasterServiceImplTest {
connections.clientMap.put("http://client", client);
master.joinNetworkRequest("TestNetwork", "http://client");
assertTrue(master._performWork());
+ assertTrue(state.getList(".participants").contains("http://client"));
}
}