From 9ff1a4f0178862f76f325fc6e303830de9c5c46d Mon Sep 17 00:00:00 2001 From: Yi Hu Date: Fri, 8 Mar 2024 11:54:22 -0500 Subject: [PATCH] Try fix Dataflow PreCommit on release branch (#30574) --- 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 34addac695b1..990dd9571fd9 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) }