Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
GOPROXY: https://proxy.golang.org
JDK_VER: ${{ matrix.java }}
DAPR_CLI_VER: 1.17.0
DAPR_RUNTIME_VER: 1.17.0
DAPR_RUNTIME_VER: 1.18.0-rc.2
DAPR_INSTALL_URL: https://raw.githubusercontent.com/dapr/cli/v1.17.0/install/install.sh
DAPR_CLI_REF:
DAPR_REF:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
GOPROXY: https://proxy.golang.org
JDK_VER: ${{ matrix.java }}
DAPR_CLI_VER: 1.17.0
DAPR_RUNTIME_VER: 1.17.0
DAPR_RUNTIME_VER: 1.18.0-rc.2
DAPR_INSTALL_URL: https://raw.githubusercontent.com/dapr/cli/v1.17.0/install/install.sh
DAPR_CLI_REF:
DAPR_REF:
Expand Down
13 changes: 13 additions & 0 deletions durabletask-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,19 @@
<outputDirectory>${protobuf.input.directory}</outputDirectory>
</configuration>
</execution>
<execution>
<id>getAttestationProto</id>
<phase>initialize</phase>
<goals>
<goal>wget</goal>
</goals>
<configuration>
<skipCache>true</skipCache>
<url>${durabletask.proto.baseurl}/attestation.proto</url>
<outputFileName>attestation.proto</outputFileName>
<outputDirectory>${protobuf.input.directory}</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<grpc.version>1.79.0</grpc.version>
<protobuf.version>3.25.5</protobuf.version>
<dapr.proto.baseurl>https://raw.githubusercontent.com/dapr/dapr/v1.17.0/dapr/proto</dapr.proto.baseurl>
<dapr.proto.baseurl>https://raw.githubusercontent.com/dapr/dapr/v1.18.0-rc.2/dapr/proto</dapr.proto.baseurl>
<durabletask.proto.baseurl>https://raw.githubusercontent.com/dapr/durabletask-protobuf/main/protos</durabletask.proto.baseurl>
<dapr.sdk.version>1.18.0-SNAPSHOT</dapr.sdk.version>
<os-maven-plugin.version>1.7.1</os-maven-plugin.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import io.dapr.workflows.client.WorkflowState;
import io.dapr.workflows.runtime.WorkflowRuntime;
import io.dapr.workflows.runtime.WorkflowRuntimeBuilder;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
Expand Down Expand Up @@ -222,5 +223,18 @@ public DaprWorkflowClient daprWorkflowClient(

return new DaprWorkflowClient(new Properties(overrides));
}

// V2 containers are started manually inside the test and are not managed by @Container,
// so we must stop them explicitly to prevent the daprd V2 process from continuing to log
// placement/scheduler reconnect failures throughout subsequent tests.
@AfterAll
static void stopManuallyStartedContainers() {
if (workerV2.isRunning()) {
workerV2.stop();
}
if (DAPR_CONTAINER_V2.isRunning()) {
DAPR_CONTAINER_V2.stop();
}
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import io.dapr.testcontainers.WorkflowDashboardContainer;
import io.dapr.workflows.client.DaprWorkflowClient;
import io.dapr.workflows.client.WorkflowState;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
Expand Down Expand Up @@ -221,6 +222,17 @@ public DaprWorkflowClient daprWorkflowClient(
return new DaprWorkflowClient(new Properties(overrides));
}


// V2 containers are started manually inside the test and are not managed by @Container,
// so we must stop them explicitly to prevent the daprd V2 process from continuing to log
// placement/scheduler reconnect failures throughout subsequent tests.
@AfterAll
static void stopManuallyStartedContainers() {
if (workerV2.isRunning()) {
workerV2.stop();
}
if (DAPR_CONTAINER_V2.isRunning()) {
DAPR_CONTAINER_V2.stop();
}
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
package io.dapr.testcontainers;

public interface DaprContainerConstants {
String DAPR_VERSION = "1.17.0";
String DAPR_VERSION = "1.18.0-rc.2";
String DAPR_WORKFLOWS_DASHBOARD_VERSION = "0.0.1";
String DAPR_RUNTIME_IMAGE_TAG = "daprio/daprd:" + DAPR_VERSION;
String DAPR_PLACEMENT_IMAGE_TAG = "daprio/placement:" + DAPR_VERSION;
Expand Down
Loading