scylladb / scylla-manager

The Scylla Manager
https://manager.docs.scylladb.com/stable/
Other
48 stars 33 forks source link

Remove flakiness of TestServiceRepairResumeAllRangesIntegration for Tablets #3834

Closed Michal-Leszczynski closed 1 month ago

Michal-Leszczynski commented 1 month ago

TestServiceRepairResumeAllRangesIntegration might fail when executed against tablet env:

2024-05-02T15:32:43.4828588Z     service_repair_integration_test.go:1095: Overall redundant ranges 39
2024-05-02T15:32:43.4829937Z     service_repair_integration_test.go:1097: Expected less redundant token ranges than 39
2024-05-02T15:32:43.4831372Z --- FAIL: TestServiceRepairResumeAllRangesIntegration (91.77s)

As tablet tables are always repaired from scratch when repair is restarted (5 repairs * 8 tablets in table ~ 40 re-repaired ranges). The test should be changed so that it takes tablets into consideration.