Skip to content

Commit

Permalink
fix integration test regression after persistent bucket was introduced
Browse files Browse the repository at this point in the history
  • Loading branch information
mjurbanski-reef committed Oct 3, 2024
1 parent f768453 commit c8cb446
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions test/integration/test_b2_command_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -3245,16 +3245,13 @@ def test_upload_file__custom_upload_time(b2_tool, persistent_bucket, sample_file
else:
# file_id, action, date, time, size(, replication), name
b2_tool.should_succeed(
['ls', '--long', *b2_uri_args(bucket_name, subfolder)],
'^4_z.* upload {} +{} a'.format(
cut_printable,
len(file_data),
)
['1ls', '--long', *b2_uri_args(bucket_name, subfolder)],
f'^4_z.* upload {cut_printable} +{len(file_data)} {subfolder}/a',
)
# file_id, action, date, time, size(, replication), name
b2_tool.should_succeed(
['ls', '--long', '--replication', *b2_uri_args(bucket_name, subfolder)],
f'^4_z.* upload {cut_printable} +{len(file_data)} - a'
f'^4_z.* upload {cut_printable} +{len(file_data)} - {subfolder}/a'
)


Expand Down

0 comments on commit c8cb446

Please sign in to comment.