diff --git a/packages/artillery/lib/platform/aws-ecs/worker/loadgen-worker b/packages/artillery/lib/platform/aws-ecs/worker/loadgen-worker index eec125a7bb..4877e009fa 100644 --- a/packages/artillery/lib/platform/aws-ecs/worker/loadgen-worker +++ b/packages/artillery/lib/platform/aws-ecs/worker/loadgen-worker @@ -224,7 +224,7 @@ 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 + mv tests/$test_run_id/* $tmpdir rm -rf "tests/$test_run_id" mv "$tmpdir/*" . }