diff options
author | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-01-16 17:43:44 +0100 |
---|---|---|
committer | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-01-16 17:43:44 +0100 |
commit | 3800131c3ea981cb9cbaec1e58ed45921b0071d8 (patch) | |
tree | 4ea9ac4be7add9c53a789a9ae5cfbf1770bd29a1 | |
parent | d3c525c8b85047b7189ba1430f5ad7bb9c1ef79a (diff) |
Add assert in test of Master.
-rw-r--r-- | same/src/test/java/com/orbekk/same/MasterServiceImplTest.java | 1 |
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")); } } |