Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: fix test_flush_over_640_gibibytes_with_fs #1546

Merged
merged 5 commits into from
Oct 3, 2024

Conversation

mmichal10
Copy link
Contributor

The test requires quite some space(640G) to prepare a file on a separate (not-cached) filesystem. Creating the file in rootfs is prone to (vague) errors due to limited space.

To make sure that the test has all the required space available, create the file on a separate disk

@pep8speaks
Copy link

pep8speaks commented Oct 3, 2024

Hello @mmichal10! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2024-10-03 10:53:57 UTC

@mmichal10
Copy link
Contributor Author

Requires Open-CAS/test-framework#18

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
The test requires quite some space(640G) to prepare a file on a separate
(not-cached) filesystem. Creating the file in rootfs is prone to (vague) errors
due to limited space.

To make sure that the test has all the required space available, create the file
on a separate disk

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
As crc32 is supposed to be slightly faster than md5 use it to detect DC

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
4h timeout for copying and calculating crc

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
Don't interrupt the test if prerequisites are not met

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
@robertbaldyga robertbaldyga merged commit d78b9a7 into Open-CAS:master Oct 3, 2024
2 checks passed
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.

5 participants