Skip to content

Commit

Permalink
Try fixing remaining failures
Browse files Browse the repository at this point in the history
- don't use SLF4j in HazelcastFaultToleranceTest
- set multicast discovery enabled property to true (default in HZ4 but not in HZ5)

Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
  • Loading branch information
tsegismont committed Aug 22, 2023
1 parent 91ab183 commit 876b7d5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ private Config createConfig() {
.setProperty("hazelcast.wait.seconds.before.join", "0")
.setProperty("hazelcast.local.localAddress", "127.0.0.1")
.setClusterName(System.getProperty("vertx.hazelcast.test.group.name"));
config.getNetworkConfig().getJoin().getMulticastConfig().setEnabled(true);
config.getMemberAttributeConfig().setAttribute("__vertx.nodeId", UUID.randomUUID().toString());
return config;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ protected ClusterManager getClusterManager() {
@Override
protected List<String> getExternalNodeSystemProperties() {
return Arrays.asList(
"-Dvertx.logger-delegate-factory-class-name=io.vertx.core.logging.SLF4JLogDelegateFactory",
"-Dhazelcast.logging.type=slf4j",
"-Djava.net.preferIPv4Stack=true",
"-Dvertx.hazelcast.test.group.name=" + groupName
);
Expand Down

0 comments on commit 876b7d5

Please sign in to comment.