Skip to content

pyocf: Test parallelism improvements#941

Open
robertbaldyga wants to merge 4 commits intoOpen-CAS:masterfrom
robertbaldyga:pyocf-global-rand-seed
Open

pyocf: Test parallelism improvements#941
robertbaldyga wants to merge 4 commits intoOpen-CAS:masterfrom
robertbaldyga:pyocf-global-rand-seed

Conversation

@robertbaldyga
Copy link
Member

No description provided.

@robertbaldyga robertbaldyga force-pushed the pyocf-global-rand-seed branch 4 times, most recently from ecfd8b1 to 5422e6d Compare March 14, 2026 16:34
@robertbaldyga robertbaldyga changed the title pytest: Use global random seed in all the tests pyocf: Test parallelism improvements Mar 14, 2026
@robertbaldyga robertbaldyga force-pushed the pyocf-global-rand-seed branch 3 times, most recently from 7714251 to 7f453c4 Compare March 14, 2026 18:23
- Make tests more reproducible.
- Enable using pytest-xdist (5x speed up on 16-core AMD 7955WX).

Co-developed-by: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Robert Baldyga <robert.baldyga@unvertical.com>
Assertions stop the test execution, so we should expect some volumes
to be left in opened state. This prevents noisy warning.

Co-developed-by: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Robert Baldyga <robert.baldyga@unvertical.com>
Co-developed-by: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Robert Baldyga <robert.baldyga@unvertical.com>
Wait for the I/Os to complete before checking stats.

Co-developed-by: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Robert Baldyga <robert.baldyga@unvertical.com>
@robertbaldyga robertbaldyga force-pushed the pyocf-global-rand-seed branch 2 times, most recently from e018829 to 7b6194c Compare March 15, 2026 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant