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

lostluck pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 6d7c6999a01 Fix building prism in action. (#28509)
6d7c6999a01 is described below

commit 6d7c6999a01ac4ef59384c6ec90f8366bd8418cb
Author: Robert Burke <[email protected]>
AuthorDate: Mon Sep 18 12:53:49 2023 -0700

    Fix building prism in action. (#28509)
    
    * Fix building prism in action.
    
    * test against this branch.
    
    * Disable prism http server in test run.
    
    * rm override.
    
    ---------
    
    Co-authored-by: lostluck <[email protected]>
---
 sdks/go/test/run_validatesrunner_tests.sh | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/sdks/go/test/run_validatesrunner_tests.sh 
b/sdks/go/test/run_validatesrunner_tests.sh
index fd4856f25a0..60dd0cd97f1 100755
--- a/sdks/go/test/run_validatesrunner_tests.sh
+++ b/sdks/go/test/run_validatesrunner_tests.sh
@@ -292,8 +292,12 @@ if [[ "$RUNNER" == "flink" || "$RUNNER" == "spark" || 
"$RUNNER" == "samza" || "$
           --port $JOB_PORT &
     elif [[ "$RUNNER" == "prism" ]]; then
       PRISMBIN=$TMPDIR/prismbin
-      ./sdks/go/run_with_go_version.sh build -o $PRISMBIN 
sdks/go/cmd/prism/*.go
-      $PRISMBIN --job_port $JOB_PORT &
+      cd sdks
+      ./go/run_with_go_version.sh build -o $PRISMBIN go/cmd/prism/*.go
+      $PRISMBIN \
+      --serve_http=false \
+      --job_port $JOB_PORT &
+      cd ..
     else
       echo "Unknown runner: $RUNNER"
       exit 1;

Reply via email to