Bug #59681
open[rbd_support] improve cli_generic.sh tests for recovery from blocklisting
0%
Description
Ilya's suggestions,
"
for TrashPurgeScheduleHandler and MirrorSnapshotScheduleHandler tests, instead of just checking that both pre- and post-blocklisting schedules show up, it would be good to test that both pre- and post-blocklisting scheduled work actually gets done. For trash purge scheduler, I would suggest creating two pools with an image trashed in each, adding a short (1-2m) schedule for one pool before blocklisting and for another after blocklisting and asserting that trash purge runs after enough time passes. And similarly for mirror snapshot scheduler: a single pool with two images would do as per-image schedules can be added there.
for TaskHandler test, queue some (let's say 5) flattens on different images before blocklisting and a sixth flatten after blocklisting and assert that all six flattens complete."
ID Updated by Ilya Dryomov over 3 years ago
- Assignee set to Ramana Raja
ID Updated by Ilya Dryomov over 3 years ago
- Related to Bug #56724: [rbd_support] recover from RADOS instance blocklisting added
ID Updated by Ilya Dryomov over 3 years ago
- Tracker changed from Tasks to Bug
- Subject changed from [rbd_support] improving rbd_support module's recovery from blocklisting tests to [rbd_support] improve cli_generic.sh tests for recovery from blocklisting
- Backport set to pacific,quincy
- Regression set to No
- Severity set to 3 - minor
Task -> Bug since Tasks apparently don't have a Backport field.
KS Updated by Konstantin Shalygin over 2 years ago
- Backport changed from pacific,quincy to quincy
KS Updated by Konstantin Shalygin almost 2 years ago
- Backport deleted (
quincy)