Skip to content

Commit

Permalink
pool: Fix data race in AIO tests
Browse files Browse the repository at this point in the history
GitHub action runs tests with '-race' flag. This makes subtests run in
parallel. Previously, some subtests were dependent from each other:
 - eACL must be set after the container is created only;
 - object must be downloaded/delete only after upload only;
 - object download must expect success before the removal only;
 - any object tests must be performed before the container removal only.

This inlines dependent subtests into the superior one in a correct order
(it was correct if tests weren't run in parallel).

Refs #644.

Signed-off-by: Leonard Lyubich <[email protected]>
  • Loading branch information
cthulhu-rider committed Dec 4, 2024
1 parent 3052a7f commit a9aa379
Showing 1 changed file with 171 additions and 203 deletions.
Loading

0 comments on commit a9aa379

Please sign in to comment.