Don't assume that we are running in docker for py instance tests
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.
@@ -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
