diff options
Diffstat (limited to 'sca-java-2.x/trunk/itest/nodes')
-rw-r--r-- | sca-java-2.x/trunk/itest/nodes/one-jvm-hazelcast-client/src/test/java/itest/ClientTestCase.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/itest/nodes/one-jvm-hazelcast-client/src/test/java/itest/ClientTestCase.java b/sca-java-2.x/trunk/itest/nodes/one-jvm-hazelcast-client/src/test/java/itest/ClientTestCase.java index 5ca89f32f3..cf99c970db 100644 --- a/sca-java-2.x/trunk/itest/nodes/one-jvm-hazelcast-client/src/test/java/itest/ClientTestCase.java +++ b/sca-java-2.x/trunk/itest/nodes/one-jvm-hazelcast-client/src/test/java/itest/ClientTestCase.java @@ -40,13 +40,13 @@ import com.hazelcast.core.IMap; */
public class ClientTestCase{
- private static URI domainURI = URI.create("tuscany:OneNodeTestCase?listen=127.0.0.1:14829");
+ private static String domainURI = "uri:OneNodeTestCase?bind=127.0.0.1:14829";
private static Node node;
private static HazelcastClient client;
@BeforeClass
public static void setUpBeforeClass() throws Exception {
- node = NodeFactory.getInstance().createNode(domainURI, "../helloworld-service/target/classes", "../helloworld-client/target/classes");
+ node = NodeFactory.newInstance(domainURI).createNode((String)null, new String[]{"../helloworld-service/target/classes", "../helloworld-client/target/classes"});
node.start();
}
|