Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

Commit c265b9b

Browse files
committed
Merge branch 'main' of github.com:googleapis/python-storage into configurable_flush_interval
2 parents 0c16163 + a0668ec commit c265b9b

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

tests/system/test_zonal.py

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -120,16 +120,12 @@ async def test_basic_wrd(
120120
@pytest.mark.parametrize(
121121
"object_size",
122122
[
123-
20 * 1024 * 1024, # greater than _MAX_BUFFER_SIZE
123+
10, # less than _chunk size,
124+
10 * 1024 * 1024, # less than _MAX_BUFFER_SIZE_BYTES
125+
20 * 1024 * 1024, # greater than _MAX_BUFFER_SIZE_BYTES
124126
],
125127
)
126-
@pytest.mark.parametrize(
127-
"attempt_direct_path",
128-
[True],
129-
)
130-
async def test_basic_wrd_in_slices(
131-
storage_client, blobs_to_delete, attempt_direct_path, object_size
132-
):
128+
async def test_basic_wrd_in_slices(storage_client, blobs_to_delete, object_size):
133129
object_name = f"test_basic_wrd-{str(uuid.uuid4())}"
134130

135131
# Client instantiation; it cannot be part of fixture because.
@@ -142,7 +138,7 @@ async def test_basic_wrd_in_slices(
142138
# loop slowing down other tests.
143139
object_data = os.urandom(object_size)
144140
object_checksum = google_crc32c.value(object_data)
145-
grpc_client = AsyncGrpcClient(attempt_direct_path=attempt_direct_path).grpc_client
141+
grpc_client = AsyncGrpcClient().grpc_client
146142

147143
writer = AsyncAppendableObjectWriter(grpc_client, _ZONAL_BUCKET, object_name)
148144
await writer.open()

0 commit comments

Comments
 (0)