Skip to content

Commit

Permalink
(issue #29) disabled multicast in cluster tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bluestreak01 committed Jan 26, 2015
1 parent dfbabca commit 18a6a9e
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions nfsdb-core/src/test/java/com/nfsdb/net/ClusterControllerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,11 @@ public void testBusyFailOver() throws Exception {
new ServerConfig() {{
addNode(new ServerNode(1, "localhost:7080"));
addNode(new ServerNode(2, "localhost:7090"));
setEnableMultiCast(false);
}},
new ClientConfig() {{
setEnableMultiCast(false);
}},
new ClientConfig(),
factory,
1,
new ArrayList<JournalWriter>() {{
Expand Down Expand Up @@ -103,8 +106,11 @@ public void onShutdown() {
new ServerConfig() {{
addNode(new ServerNode(1, "localhost:7080"));
addNode(new ServerNode(2, "localhost:7090"));
setEnableMultiCast(false);
}},
new ClientConfig() {{
setEnableMultiCast(false);
}},
new ClientConfig(),
factory2,
2,
new ArrayList<JournalWriter>() {{
Expand Down Expand Up @@ -299,8 +305,11 @@ private ClusterController createController(int instance, final JournalFactory fa
new ServerConfig() {{
addNode(new ServerNode(1, "localhost:7080"));
addNode(new ServerNode(2, "localhost:7090"));
setEnableMultiCast(false);
}},
new ClientConfig() {{
setEnableMultiCast(false);
}},
new ClientConfig(),
fact,
instance,
new ArrayList<JournalWriter>() {{
Expand Down

0 comments on commit 18a6a9e

Please sign in to comment.