Skip to content

Commit bc652a1

Browse files
committed
Use staged SDK harness & Dataflow worker jar in JPMS tests
1 parent 84706d9 commit bc652a1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

sdks/java/testing/jpms-tests/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ dependencies {
6464
directRunnerIntegrationTest project(":runners:direct-java")
6565
flinkRunnerIntegrationTest project(":runners:flink:${project.ext.latestFlinkVersion}")
6666
dataflowRunnerIntegrationTest project(":runners:google-cloud-dataflow-java")
67+
dataflowRunnerIntegrationTest project(":sdks:java:harness") // for staging locally built harness jar
6768
sparkRunnerIntegrationTest project(":runners:spark:3")
6869
}
6970

@@ -84,6 +85,7 @@ for (String runner : testRunnerClass.keySet()) {
8485
]
8586
if ("dataflowRunnerIntegrationTest".equals(runner)) {
8687
testPipelineOptions.add("--region=${gcpRegion}")
88+
testPipelineOptions.add("--experiments=use_staged_dataflow_worker_jar")
8789
}
8890
classpath = configurations."${runner}"
8991
include "**/*IT.class"

0 commit comments

Comments
 (0)