This is an automated email from the ASF dual-hosted git repository.

yhu pushed a commit to branch release-2.55.0
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/release-2.55.0 by this push:
     new 3c8e0cd1bbf Try fix Dataflow PreCommit on release branch (#30574) 
(#30578)
3c8e0cd1bbf is described below

commit 3c8e0cd1bbf578d22be1fd6f52e075abe2e324da
Author: Yi Hu <[email protected]>
AuthorDate: Fri Mar 8 14:29:50 2024 -0500

    Try fix Dataflow PreCommit on release branch (#30574) (#30578)
---
 runners/google-cloud-dataflow-java/examples/build.gradle | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/runners/google-cloud-dataflow-java/examples/build.gradle 
b/runners/google-cloud-dataflow-java/examples/build.gradle
index 34addac695b..990dd9571fd 100644
--- a/runners/google-cloud-dataflow-java/examples/build.gradle
+++ b/runners/google-cloud-dataflow-java/examples/build.gradle
@@ -98,10 +98,8 @@ def commonConfig = { Map args ->
                "--region=${gcpRegion}",
                "--tempRoot=${actualGcsTempRoot}",
                "--runner=TestDataflowRunner",
-               "--dataflowWorkerJar=${actualDataflowWorkerJar}"]
-       if (actualWorkerHarnessContainerImage) {
-           preCommitBeamTestPipelineOptions += 
"--workerHarnessContainerImage=${actualWorkerHarnessContainerImage}"
-       }
+               "--dataflowWorkerJar=${actualDataflowWorkerJar}",
+               
"--workerHarnessContainerImage=${actualWorkerHarnessContainerImage}"]
        preCommitBeamTestPipelineOptions += additionalOptions
        systemProperty "beamTestPipelineOptions", 
JsonOutput.toJson(preCommitBeamTestPipelineOptions)
      }

Reply via email to