-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
zts: Fix and change testcase cache_010_neg #10172
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for digging in to getting this test updated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test needs to be renamed in common.run, too.
I'll give you a chance to review the slog test and revise this one before I comment on the FreeBSD issues.
62abe68
to
c88e3c5
Compare
c88e3c5
to
c7fbde0
Compare
Codecov Report
@@ Coverage Diff @@
## master #10172 +/- ##
==========================================
- Coverage 79.40% 79.17% -0.23%
==========================================
Files 385 385
Lines 122603 122603
==========================================
- Hits 97350 97073 -277
- Misses 25253 25530 +277
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aside from that one issue this looks good to me. Please also rebase this on the latest master code when you refresh it.
ab35b26
to
ebfe93d
Compare
Commit 379ca9c removed the requirement on aux devices to be block devices only but the test case cache_010_neg was not updated, making it fail consistently. This change changes the test to check that cache devices _can_ be anything that presents a block interface. The testcase is renamed to cache_010_pos and the exceptions for known failure removed from the test runner. Reported-by: Richard Elling <[email protected]> Signed-off-by: Alex John <[email protected]>
Commit 379ca9c removed the requirement on aux devices to be block devices only but the test case cache_010_neg was not updated, making it fail consistently. This change changes the test to check that cache devices _can_ be anything that presents a block interface. The testcase is renamed to cache_010_pos and the exceptions for known failure removed from the test runner. Reviewed-by: Ryan Moeller <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reported-by: Richard Elling <[email protected]> Signed-off-by: Alex John <[email protected]> Closes openzfs#10172 (cherry picked from commit c602b35)
Commit 379ca9c removed the requirement on aux devices to be block devices only but the test case cache_010_neg was not updated, making it fail consistently. This change changes the test to check that cache devices _can_ be anything that presents a block interface. The testcase is renamed to cache_010_pos and the exceptions for known failure removed from the test runner. Reviewed-by: Ryan Moeller <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reported-by: Richard Elling <[email protected]> Signed-off-by: Alex John <[email protected]> Closes openzfs#10172
Motivation and Context
Commit 379ca9c removed the requirement on aux devices to be block
devices only but the test case cache_010_neg was not updated, making it
fail consistently.
WIP to get comments from maintainers and other contributors.
Description
This change changes the test to check that cache devices can be files
and character devices too. The testcase is renamed to cache_010_pos and
the exceptions for known failure removed from the test runner.
How Has This Been Tested?
Types of changes
Checklist:
Signed-off-by
.