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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbeforeAll(org.junit.jupiter.api.extension.ExtensionContext context) protected abstract Ignite2ClusterContainerprotected org.testcontainers.containers.GenericContainercreateSeedDataCountainer(org.testcontainers.containers.Network network) static booleanwaitForCondition(BooleanSupplier cond, long sleepMillis, long timeoutMillis) TODO: Copied from IgniteTestUtils should reuse this.
-
Constructor Details
-
Ignite2ClusterWithSamples
-
-
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
-
beforeAll
- Specified by:
beforeAllin interfaceorg.junit.jupiter.api.extension.BeforeAllCallback- Throws:
Exception
-
createSeedDataCountainer
protected org.testcontainers.containers.GenericContainer createSeedDataCountainer(org.testcontainers.containers.Network network)
-