SAMZA-1685: Need to resolve redirects for virtualenv download location for running...
authorCameron Lee <calee@linkedin.com>
Tue, 24 Apr 2018 03:28:43 +0000 (20:28 -0700)
committerJagadish <jvenkatraman@linkedin.com>
Tue, 24 Apr 2018 03:28:43 +0000 (20:28 -0700)
Testing Done: ran bin/integration-tests.sh locally from mac/linux which did not run the integration tests before

Author: Cameron Lee <calee@linkedin.com>

Reviewers: Jagadish <jagadish@apache.org>

Closes #482 from cameronlee314/inttest

bin/integration-tests.sh

index 7ed8dae..14fcd1c 100755 (executable)
@@ -53,7 +53,8 @@ cd $ABS_TEST_DIR
 # setup virtualenv locally if it's not already there
 VIRTUAL_ENV=virtualenv-15.0.1
 if [[ ! -d "${ABS_TEST_DIR}/${VIRTUAL_ENV}" ]] ; then
-  curl -O https://pypi.python.org/packages/source/v/virtualenv/$VIRTUAL_ENV.tar.gz
+  # using --location to follow any redirects
+  curl -O --location https://pypi.python.org/packages/source/v/virtualenv/$VIRTUAL_ENV.tar.gz
   tar xvfz $VIRTUAL_ENV.tar.gz
 fi