Class Ignite2ClusterWithSamples

java.lang.Object
org.apache.ignite.migrationtools.tests.containers.Ignite2ClusterWithSamples
All Implemented Interfaces:
org.junit.jupiter.api.extension.BeforeAllCallback, org.junit.jupiter.api.extension.Extension
Direct Known Subclasses:
FullSampleCluster

public abstract class Ignite2ClusterWithSamples extends Object implements org.junit.jupiter.api.extension.BeforeAllCallback
Ignite2ClusterWithSamples.
  • Constructor Details

    • Ignite2ClusterWithSamples

      public Ignite2ClusterWithSamples(Path targetPath)
  • Method Details

    • waitForCondition

      public static boolean waitForCondition(BooleanSupplier cond, long sleepMillis, long timeoutMillis) throws InterruptedException
      TODO: Copied from IgniteTestUtils should reuse this.
      Throws:
      InterruptedException
    • createClusterContainers

      protected abstract Ignite2ClusterContainer createClusterContainers()
    • beforeAll

      public void beforeAll(org.junit.jupiter.api.extension.ExtensionContext context) throws Exception
      Specified by:
      beforeAll in interface org.junit.jupiter.api.extension.BeforeAllCallback
      Throws:
      Exception
    • createSeedDataCountainer

      protected org.testcontainers.containers.GenericContainer createSeedDataCountainer(org.testcontainers.containers.Network network)