diff --git a/cloudbuild/zb-system-tests-cloudbuild.yaml b/cloudbuild/zb-system-tests-cloudbuild.yaml index 383c4fa96..306bb3825 100644 --- a/cloudbuild/zb-system-tests-cloudbuild.yaml +++ b/cloudbuild/zb-system-tests-cloudbuild.yaml @@ -18,8 +18,6 @@ steps: mkdir -p /workspace/.ssh # Generate the SSH key ssh-keygen -t rsa -f /workspace/.ssh/google_compute_engine -N '' -C gcb - # Save the public key content to a file for the cleanup step - cat /workspace/.ssh/google_compute_engine.pub > /workspace/gcb_ssh_key.pub waitFor: ["-"] # Step 1 Create a GCE VM to run the tests. @@ -88,7 +86,7 @@ steps: - | echo "--- Removing SSH key from OS Login profile to prevent accumulation ---" gcloud compute os-login ssh-keys remove \ - --key-file=/workspace/gcb_ssh_key.pub || true + --key-file=/.ssh/google_compute_engine.pub || true waitFor: - "run-tests-and-delete-vm" diff --git a/google/cloud/storage/_experimental/asyncio/async_multi_range_downloader.py b/google/cloud/storage/_experimental/asyncio/async_multi_range_downloader.py index 1beedd097..72577281d 100644 --- a/google/cloud/storage/_experimental/asyncio/async_multi_range_downloader.py +++ b/google/cloud/storage/_experimental/asyncio/async_multi_range_downloader.py @@ -214,6 +214,10 @@ async def download_ranges( to be provided by the user, and user has to make sure appropriate memory is available in the application to avoid out-of-memory crash. + Special meaning for `start_byte` and `bytes_to_read` + (0, 0) : Downloads entire file + () + :type lock: asyncio.Lock :param lock: (Optional) An asyncio lock to synchronize sends and recvs on the underlying bidi-GRPC stream. This is required when multiple