mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-26 19:35:12 +00:00
Before this change, the test function `_verify_tasks_processed_metrics` verified that after service level reconfiguration, a given number of `scylla_scheduler_tasks_processed` were processed by a given scheduling group. Moreover, the check verified that another scheduling group didn't process a high number of requests. The second check was vulnerable to flakiness, because sometimes additional load caused extensive work in the second scheduling group (e.g. password hashing in `sl:driver` due to new connections being created). To avoid test failures, this commit changes which metric is verified: instead of `scylla_scheduler_tasks_processed`, the metric `scylla_transport_cql_requests_count` is checked. This prevents similar problems, because there is no reason for a high number of requests to be processed by the second scheduling group. Moreover, it allows decreasing the number of requests that are sent for verification, and thus speeds up the test. Fixes: scylladb/scylladb#27715 Closes scylladb/scylladb#28318