You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by mm...@apache.org on 2020/06/03 19:15:44 UTC
[pulsar] branch master updated: Don't assume that we are running in
docker for py instance tests (#7061)
This is an automated email from the ASF dual-hosted git repository.
mmerli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new 06e37ff Don't assume that we are running in docker for py instance tests (#7061)
06e37ff is described below
commit 06e37ff5a871a6853eb5e4c29dd50ab28b05b43b
Author: Matteo Merli <mm...@apache.org>
AuthorDate: Wed Jun 3 12:15:12 2020 -0700
Don't assume that we are running in docker for py instance tests (#7061)
The run-unit-tests.sh assumed that the build tree was at /pulsar as it
is in the docker based build. This isn't necessarily the case when the
script is being called directly.
Co-authored-by: Ivan Kelly <ik...@splunk.com>
---
pulsar-client-cpp/run-unit-tests.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pulsar-client-cpp/run-unit-tests.sh b/pulsar-client-cpp/run-unit-tests.sh
index f709c83..b2dc214 100755
--- a/pulsar-client-cpp/run-unit-tests.sh
+++ b/pulsar-client-cpp/run-unit-tests.sh
@@ -61,7 +61,7 @@ if [ $RES -eq 0 ]; then
RES=$?
echo "---- Running Python Function Instance unit tests"
- bash /pulsar/pulsar-functions/instance/src/scripts/run_python_instance_tests.sh
+ bash $ROOT_DIR/pulsar-functions/instance/src/scripts/run_python_instance_tests.sh
RES=$?
popd