Optimize S3 tests #358

Closed
opened 2025-12-28 18:16:04 +00:00 by sami · 0 comments
Owner

Originally created by @roman-khimov on GitHub (Mar 17, 2025).

Originally assigned to: @evgeniiz321 on GitHub.

I'm always frustrated when S3 tests take a lot of time. They can take up to an hour on their own:
https://rest.fs.neo.org/7ZVSQHtioVRiDT2btN9xEmQhczXV9vryCEAHUawfD8Sc/548-1741766613/index.html#timeline
and they're taking a substantial chunk of overall time when running the whole set:
https://rest.fs.neo.org/HXSaMJXk2g8C14ht8HSi7BBaiYZ1HeWh2xnWPGQCg4H6/2776-1742220617/index.html#timeline

Describe the solution you'd like

Take a look at long tests:

  • tests.s3.test_s3_locking.TestS3Locking#test_s3_object_locking
  • tests.s3.test_s3.TestS3#test_s3_api_delete
  • tests.s3.test_s3_multipart.TestS3Multipart#test_s3_object_multipart_random
  • tests.s3.test_s3.TestS3#test_s3_buckets

Likely they can be optimized.

Take a look at set up and tear down processes that seem to take significant time as well, likely there is some potential for improvement there as well.

Originally created by @roman-khimov on GitHub (Mar 17, 2025). Originally assigned to: @evgeniiz321 on GitHub. ## Is your feature request related to a problem? Please describe. I'm always frustrated when S3 tests take a lot of time. They can take up to an hour on their own: https://rest.fs.neo.org/7ZVSQHtioVRiDT2btN9xEmQhczXV9vryCEAHUawfD8Sc/548-1741766613/index.html#timeline and they're taking a substantial chunk of overall time when running the whole set: https://rest.fs.neo.org/HXSaMJXk2g8C14ht8HSi7BBaiYZ1HeWh2xnWPGQCg4H6/2776-1742220617/index.html#timeline ## Describe the solution you'd like Take a look at long tests: * tests.s3.test_s3_locking.TestS3Locking#test_s3_object_locking * tests.s3.test_s3.TestS3#test_s3_api_delete * tests.s3.test_s3_multipart.TestS3Multipart#test_s3_object_multipart_random * tests.s3.test_s3.TestS3#test_s3_buckets Likely they can be optimized. Take a look at set up and tear down processes that seem to take significant time as well, likely there is some potential for improvement there as well.
sami 2025-12-28 18:16:04 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/neofs-testcases#358
No description provided.