Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
serviceAlias = "ignite")
public class IgniteEmbeddedInfraService implements IgniteInfraService {
private static final Logger LOG = LoggerFactory.getLogger(IgniteEmbeddedInfraService.class);
private static int nodeCounter = 0;

private static final TcpDiscoveryIpFinder LOCAL_IP_FINDER = new TcpDiscoveryVmIpFinder(false) {
{
Expand Down Expand Up @@ -67,6 +68,8 @@ public IgniteConfiguration createConfiguration() {
System.setProperty("IGNITE_PERFORMANCE_SUGGESTIONS_DISABLED", "true");
System.setProperty("IGNITE_NO_ASCII", "true");
System.setProperty("IGNITE_CONSOLE_APPENDER", "true");
// workaround to https://github.com/apache/ignite/issues/10648
System.setProperty("IGNITE_OVERRIDE_CONSISTENT_ID", "node" + nodeCounter++);

IgniteConfiguration config = new IgniteConfiguration();
config.setIgniteInstanceName(UUID.randomUUID().toString());
Expand Down