Skip to content

Commit

Permalink
fix: make hidden files available to Azure worker (#3312)
Browse files Browse the repository at this point in the history
  • Loading branch information
hassy committed Aug 15, 2024
1 parent 533dfcd commit 99a7df7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/artillery/lib/platform/aws-ecs/worker/loadgen-worker
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,11 @@ sync_test_data_azure () {
# So we need to move them all up two levels to the current directory
az storage blob download-batch -d . --account-name "$AZURE_STORAGE_ACCOUNT" -s "$azure_storage_container_name" --pattern "tests/$test_run_id/*"
local tmpdir="$(mktemp -d)"
mv tests/$test_run_id/* $tmpdir
set +e
mv tests/$test_run_id/{.,}* $tmpdir
rm -rf tests/$test_run_id
mv $tmpdir/* .
mv $tmpdir/{.,}* .
set -e
}

sync_test_data_s3 () {
Expand Down

0 comments on commit 99a7df7

Please sign in to comment.