Skip to content

Commit b1fa4d2

Browse files
authored
Fix paths in run_zonal_tests.sh script
1 parent 4c6acdc commit b1fa4d2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

storage/cloudbuild/run_zonal_tests.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
1+
#!/bin/bash
22
set -euxo pipefail
33
echo '--- Installing git and cloning repository on VM ---'
44
sudo apt-get update && sudo apt-get install -y git python3-pip python3-venv
55

66
# Clone the repository and checkout the specific commit from the build trigger.
77
git clone --no-checkout --depth 1 --sparse --filter=blob:none https://github.com/googleapis/python-docs-samples.git
88
cd python-docs-samples
9-
git sparse-checkout set main/storage
9+
git sparse-checkout set storage
1010
git fetch origin "refs/pull/${_PR_NUMBER}/head"
1111
git checkout ${COMMIT_SHA}
12-
cd main/storage
12+
cd storage
1313

1414

1515
echo '--- Installing Python and dependencies on VM ---'
@@ -28,4 +28,4 @@ export RUN_ZONAL_SYSTEM_TESTS=True
2828
export GCE_METADATA_MTLS_MODE=None
2929
CURRENT_ULIMIT=$(ulimit -n)
3030
echo '--- Running Zonal tests on VM with ulimit set to ---' $CURRENT_ULIMIT
31-
pytest -vv -s --log-format='%(asctime)s %(levelname)s %(message)s' --log-date-format='%H:%M:%S' samples/snippets/zonal_buckets/zonal_snippets_test.py
31+
pytest -vv -s --log-format='%(asctime)s %(levelname)s %(message)s' --log-date-format='%H:%M:%S' samples/snippets/zonal_buckets/zonal_snippets_test.py

0 commit comments

Comments
 (0)