Skip to content

Commit

Permalink
Oops broken test...
Browse files Browse the repository at this point in the history
  • Loading branch information
jfclere committed Nov 24, 2010
1 parent 2f41217 commit 765a0ab
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/java/org/jboss/mod_cluster/TestFailAppover.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,12 @@ public void testFailAppover() {

service = new JBossWeb("node3", "localhost");
connector = service.addConnector(8013);
service.AddContext("/test", "/test");
service.AddContext("/test", "/test", true);
server.addService(service);

service2 = new JBossWeb("node4", "localhost");
connector2 = service2.addConnector(8014);
service2.AddContext("/test", "/test");
service2.AddContext("/test", "/test", true);
server.addService(service2);

cluster = Maintest.createClusterListener("232.0.0.2", 23364, false, "dom1");
Expand Down Expand Up @@ -99,7 +99,7 @@ public void testFailAppover() {

// Wait for it.
try {
if (client.runit("/ROOT/MyCount", 10, false, true) != 0)
if (client.runit("/test/MyCount", 10, false, true) != 0)
clienterror = true;
} catch (Exception ex) {
ex.printStackTrace();
Expand All @@ -111,10 +111,10 @@ public void testFailAppover() {
// Stop the connector that has received the request...
String node = client.getnode();
if ("node4".equals(node)) {
service2.removeContext("/");
service2.removeContext("/test");
node = "node3";
} else {
service.removeContext("/");
service.removeContext("/test");
node = "node4";
}

Expand Down

0 comments on commit 765a0ab

Please sign in to comment.