From 649d126ed3bcef2b22b6cc53a35a0ac75c0cee14 Mon Sep 17 00:00:00 2001
From: Jan Tattermusch <jtattermusch@google.com>
Date: Wed, 11 May 2016 12:26:39 -0700
Subject: [PATCH] set GOPATH when executing go worker

---
 tools/jenkins/run_performance.sh             | 2 +-
 tools/run_tests/performance/run_worker_go.sh | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/tools/jenkins/run_performance.sh b/tools/jenkins/run_performance.sh
index 13a332751b..c92f9750af 100755
--- a/tools/jenkins/run_performance.sh
+++ b/tools/jenkins/run_performance.sh
@@ -34,4 +34,4 @@ set -ex
 # Enter the gRPC repo root
 cd $(dirname $0)/../..
 
-tools/run_tests/run_performance_tests.py -l c++ node ruby csharp python
+tools/run_tests/run_performance_tests.py -l c++ node ruby csharp python go
diff --git a/tools/run_tests/performance/run_worker_go.sh b/tools/run_tests/performance/run_worker_go.sh
index f7f2ece137..6b1242a419 100755
--- a/tools/run_tests/performance/run_worker_go.sh
+++ b/tools/run_tests/performance/run_worker_go.sh
@@ -32,4 +32,6 @@ set -ex
 
 cd $(dirname $0)/../../..
 
-../gopath/bin/worker $@
+export GOPATH=$(pwd)/../gopath
+
+${GOPATH}/bin/worker $@
-- 
GitLab