File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3352,7 +3352,7 @@ def test_create_resumable_upload_session_with_origin(self):
3352
3352
3353
3353
def test_create_resumable_upload_session_with_conditional_retry_success (self ):
3354
3354
self ._create_resumable_upload_session_helper (
3355
- retry = DEFAULT_RETRY_IF_GENERATION_SPECIFIED , if_generation_match = 1
3355
+ retry = DEFAULT_RETRY_IF_GENERATION_SPECIFIED , if_generation_match = 123456
3356
3356
)
3357
3357
3358
3358
def test_create_resumable_upload_session_with_conditional_retry_failure (self ):
Original file line number Diff line number Diff line change @@ -395,7 +395,7 @@ def test_conditional_retry_pass(self):
395
395
blob ,
396
396
chunk_size = chunk_size ,
397
397
content_type = PLAIN_CONTENT_TYPE ,
398
- if_generation_match = 123456789 , # Note: Assuming this is the blob generation
398
+ if_generation_match = 123456 ,
399
399
)
400
400
401
401
# The transmit_next_chunk method must actually consume bytes from the
@@ -421,7 +421,7 @@ def test_conditional_retry_pass(self):
421
421
None , # num_retries
422
422
chunk_size = chunk_size ,
423
423
retry = DEFAULT_RETRY ,
424
- if_generation_match = 123456789 ,
424
+ if_generation_match = 123456 ,
425
425
)
426
426
upload .transmit_next_chunk .assert_called_with (transport )
427
427
self .assertEqual (upload .transmit_next_chunk .call_count , 4 )
You can’t perform that action at this time.
0 commit comments