diff options
-rw-r--r-- | sca-java-2.x/trunk/itest/nodes/two-nodes-test/src/test/java/itest/StopStartNodesTestCase.java | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/sca-java-2.x/trunk/itest/nodes/two-nodes-test/src/test/java/itest/StopStartNodesTestCase.java b/sca-java-2.x/trunk/itest/nodes/two-nodes-test/src/test/java/itest/StopStartNodesTestCase.java index 4a41ae8133..beb38929ca 100644 --- a/sca-java-2.x/trunk/itest/nodes/two-nodes-test/src/test/java/itest/StopStartNodesTestCase.java +++ b/sca-java-2.x/trunk/itest/nodes/two-nodes-test/src/test/java/itest/StopStartNodesTestCase.java @@ -60,14 +60,9 @@ public class StopStartNodesTestCase { client = clientNode.getService(Helloworld.class, "HelloworldClient");
assertNotNull(client);
- try {
- client.sayHello("Petra");
- fail();
- } catch (Exception e) {
- // expected
- // TODO: better exception than NPE
- }
+ assertEquals(true, client.sayHello("Petra").startsWith("Unable to bind"));
+
serviceNode = factory.createNode(new Contribution("service", getJar("../helloworld-service/target")));
serviceNode.start();
|