Skip to content

Commit

Permalink
[Tests] Change v3io test chunks size (#5467)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomerm-iguazio committed May 5, 2024
1 parent ecff614 commit 9054377
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/system/datastore/test_v3io.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def test_v3io_large_object_upload(self, tmp_path, file_size):
os.remove(tempfile_2_path)
object_path = urlparse(self._object_url).path
start_time = time.monotonic()
data_item.store._upload(object_path, tempfile_1_path, max_chunk_size=100 * 1024)
data_item.store._upload(object_path, tempfile_1_path, max_chunk_size=500 * 1024)
self._logger.debug(
f"test_v3io_large_object_upload - finished to upload with store directly in"
f" {time.monotonic() - start_time} seconds"
Expand Down Expand Up @@ -195,7 +195,7 @@ def test_v3io_large_object_put(self):
)
assert returned_buffer == generated_buffer
start_time = time.monotonic()
data_item.store._put(object_path, generated_buffer, max_chunk_size=100 * 1024)
data_item.store._put(object_path, generated_buffer, max_chunk_size=500 * 1024)
self._logger.debug(
f"test_v3io_large_object_put: store put finished in : {time.monotonic() - start_time} seconds"
)
Expand Down

0 comments on commit 9054377

Please sign in to comment.