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

massakam pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-client-node.git

commit d07afe5d5cc3f18755f443eb05f93176110e59c4
Author: hrsakai <[email protected]>
AuthorDate: Fri Jun 7 15:19:27 2019 +0900

    Change download url for pulsar pkg
---
 pulsar-test-service-start.sh | 2 +-
 run-unit-tests.sh            | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pulsar-test-service-start.sh b/pulsar-test-service-start.sh
index 78e715e..44cdf9c 100755
--- a/pulsar-test-service-start.sh
+++ b/pulsar-test-service-start.sh
@@ -28,7 +28,7 @@ PULSAR_DIR="${PULSAR_DIR:-/tmp/pulsar-test-dist}"
 PKG=apache-pulsar-${VERSION}-bin.tar.gz
 
 rm -rf $PULSAR_DIR
-curl -L --create-dir 
"https://www.apache.org/dyn/mirrors/mirrors.cgi?action=download&filename=pulsar/pulsar-${VERSION}/${PKG}";
 -o $PULSAR_DIR/$PKG
+curl -L --create-dir 
"https://archive.apache.org/dist/pulsar/pulsar-${VERSION}/${PKG}"; -o 
$PULSAR_DIR/$PKG
 tar xfz $PULSAR_DIR/$PKG -C $PULSAR_DIR --strip-components 1
 
 DATA_DIR=/tmp/pulsar-test-data
diff --git a/run-unit-tests.sh b/run-unit-tests.sh
index 1acce0a..c521db4 100755
--- a/run-unit-tests.sh
+++ b/run-unit-tests.sh
@@ -28,7 +28,7 @@ VERSION="${VERSION:-`cat ./pulsar-version.txt`}"
 PULSAR_PKG_DIR="/tmp/pulsar-test-pkg"
 rm -rf $PULSAR_PKG_DIR
 for pkg in apache-pulsar-client-dev.deb apache-pulsar-client.deb;do
-  curl -L --create-dir 
"https://www.apache.org/dyn/mirrors/mirrors.cgi?action=download&filename=pulsar/pulsar-${VERSION}/DEB/${pkg}";
 -o $PULSAR_PKG_DIR/$pkg
+  curl -L --create-dir 
"https://archive.apache.org/dist/pulsar/pulsar-${VERSION}/DEB/${pkg}"; -o 
$PULSAR_PKG_DIR/$pkg
 done;
 apt install $PULSAR_PKG_DIR/apache-pulsar-client*.deb
 

Reply via email to