From bed669e8744621b873b1547c942988682dea0e5f Mon Sep 17 00:00:00 2001 From: andyzhangx Date: Wed, 27 Dec 2023 08:47:18 +0000 Subject: [PATCH] test: always use latest azcopy version in sanity test --- test/sanity/run-test.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/sanity/run-test.sh b/test/sanity/run-test.sh index d877088b36..8e13b5f142 100755 --- a/test/sanity/run-test.sh +++ b/test/sanity/run-test.sh @@ -38,12 +38,12 @@ fi azcopyPath="/usr/local/bin/azcopy" if [ ! -f "$azcopyPath" ]; then - azcopyVersion=azcopy_linux_amd64_10.18.1 echo 'Downloading azcopy...' - wget -c https://azcopyvnext.azureedge.net/release20230420/$azcopyVersion.tar.gz - tar -zxvf $azcopyVersion.tar.gz - mv ./$azcopyVersion/azcopy /usr/local/bin/azcopy - rm -rf ./$azcopyVersion* + azcopyTarFile="azcopy.tar.gz" + wget -O $azcopyTarFile https://aka.ms/downloadazcopy-v10-linux + tar -zxvf $azcopyTarFile + mv ./azcopy*/azcopy /usr/local/bin/azcopy + rm -rf ./$azcopyTarFile chmod +x /usr/local/bin/azcopy fi