Repository navigation
rbd: add the validate of the format and clone_format - #58180
Conversation
idryomov
left a comment
There was a problem hiding this comment.
src/librbd changes LGTM.
Do you mind if I take over the test (i.e. replace it with my own)? I think it's better done against the C++ API and I want to check that images created with different formats are actually different as well as a bunch of other nits that would easier for me to address directly.
it's ok, I am not good at writing test cases , thank you 😄 |
[ idryomov: squash test_unsupported_clone_format() into test_clone_format() ] Fixes: https://tracker.ceph.com/issues/65744 Signed-off-by: junxiang Mu <[email protected]> Signed-off-by: Ilya Dryomov <[email protected]>
Co-authored-by: junxiang Mu <[email protected]> Signed-off-by: Ilya Dryomov <[email protected]>
You did a pretty good job -- I kept the skeleton, covered a few more scenarios and added those additional checks mentioned in the previous comment (see |
LGTM,Much better than my test cases, and more in the style of C++. and sorry,I wrongly submitted the commit. I will roll it back later. |
|
No related failures: https://pulpito.ceph.com/dis-2024-07-18_22:11:30-rbd-wip-dis-testing-distro-default-smithi/ (Jobs where in the OSD were excluded from last the rerun. This issue is being looked at by the RADOS team.) |
Fixes: https://tracker.ceph.com/issues/65744
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windowsjenkins test rook e2e