mirror of https://github.com/dapr/java-sdk.git
use consts
Signed-off-by: Cassandra Coyle <cassie@diagrid.io>
This commit is contained in:
parent
b5f541bc34
commit
710ba9db41
|
|
@ -39,6 +39,8 @@ import java.util.Map;
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
|
|
||||||
import static io.dapr.it.testcontainers.ContainerConstants.DAPR_RUNTIME_IMAGE_TAG;
|
import static io.dapr.it.testcontainers.ContainerConstants.DAPR_RUNTIME_IMAGE_TAG;
|
||||||
|
import static io.dapr.testcontainers.DaprContainerConstants.DAPR_PLACEMENT_IMAGE_TAG;
|
||||||
|
import static io.dapr.testcontainers.DaprContainerConstants.DAPR_SCHEDULER_IMAGE_TAG;
|
||||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||||
import static org.junit.jupiter.api.Assertions.assertNotNull;
|
import static org.junit.jupiter.api.Assertions.assertNotNull;
|
||||||
import io.dapr.testcontainers.Subscription;
|
import io.dapr.testcontainers.Subscription;
|
||||||
|
|
@ -81,13 +83,13 @@ public class WorkflowsCrossAppCallActivityIT {
|
||||||
// Ensure dependencies are copied for container classpath
|
// Ensure dependencies are copied for container classpath
|
||||||
ensureDependenciesCopied();
|
ensureDependenciesCopied();
|
||||||
|
|
||||||
sharedPlacementContainer = new DaprPlacementContainer("daprio/placement:1.16.0-rc.3")
|
sharedPlacementContainer = new DaprPlacementContainer(DAPR_PLACEMENT_IMAGE_TAG)
|
||||||
.withNetwork(DAPR_NETWORK)
|
.withNetwork(DAPR_NETWORK)
|
||||||
.withNetworkAliases("placement")
|
.withNetworkAliases("placement")
|
||||||
.withReuse(false);
|
.withReuse(false);
|
||||||
sharedPlacementContainer.start();
|
sharedPlacementContainer.start();
|
||||||
|
|
||||||
sharedSchedulerContainer = new DaprSchedulerContainer("daprio/scheduler:1.16.0-rc.3")
|
sharedSchedulerContainer = new DaprSchedulerContainer(DAPR_SCHEDULER_IMAGE_TAG)
|
||||||
.withNetwork(DAPR_NETWORK)
|
.withNetwork(DAPR_NETWORK)
|
||||||
.withNetworkAliases("scheduler")
|
.withNetworkAliases("scheduler")
|
||||||
.withReuse(false);
|
.withReuse(false);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue