From 3800131c3ea981cb9cbaec1e58ed45921b0071d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjetil=20=C3=98rbekk?= Date: Mon, 16 Jan 2012 17:43:44 +0100 Subject: Add assert in test of Master. --- same/src/test/java/com/orbekk/same/MasterServiceImplTest.java | 1 + 1 file changed, 1 insertion(+) (limited to 'same/src/test/java') 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")); } } -- cgit v1.2.3