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

heejong 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 0b85362  [BEAM-11699] Correct python environment directly for 
fnApiJobServerSetup
     new d289168  Merge pull request #13822 from y1chi/BEAM-11699
0b85362 is described below

commit 0b85362c889967dcc86942edc12ff66d39fa84a5
Author: Yichi Zhang <[email protected]>
AuthorDate: Wed Jan 27 11:10:19 2021 -0800

    [BEAM-11699] Correct python environment directly for fnApiJobServerSetup
---
 sdks/python/test-suites/direct/xlang/build.gradle | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sdks/python/test-suites/direct/xlang/build.gradle 
b/sdks/python/test-suites/direct/xlang/build.gradle
index a68b5c0..dc33fb4 100644
--- a/sdks/python/test-suites/direct/xlang/build.gradle
+++ b/sdks/python/test-suites/direct/xlang/build.gradle
@@ -34,12 +34,12 @@ def setupTask = project.tasks.create(name: 
"fnApiJobServerSetup", type: Exec) {
   dependsOn ':sdks:python:installGcpTest'
 
   executable 'sh'
-  args '-c', ". ${envdir}/bin/activate && python -m 
apache_beam.runners.portability.local_job_service_main --job_port ${jobPort} 
--pid_file ${pidFile} --background --stdout_file 
${tmpDir}/beam-fnapi-job-server.log"
+  args '-c', ". ${envDir}/bin/activate && python -m 
apache_beam.runners.portability.local_job_service_main --job_port ${jobPort} 
--pid_file ${pidFile} --background --stdout_file 
${tmpDir}/beam-fnapi-job-server.log"
 }
 
 def cleanupTask = project.tasks.create(name: "fnApiJobServerCleanup", type: 
Exec) {
   executable 'sh'
-  args '-c', ". ${envdir}/bin/activate && python -m 
apache_beam.runners.portability.local_job_service_main --pid_file ${pidFile} 
--stop"
+  args '-c', ". ${envDir}/bin/activate && python -m 
apache_beam.runners.portability.local_job_service_main --pid_file ${pidFile} 
--stop"
 }
 
 createCrossLanguageValidatesRunnerTask(

Reply via email to