Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test/cql-pytest/nodetool.py: no_autocompaction_context: use the corre…
…ct API This `with` context is supposed to disable, then re-enable autocompaction for the given keyspaces, but it used the wrong API for it, it used the column_family/autocompaction API, which operates on column families, not keyspaces. This oversight led to a silent failure because the code didn't check the result of the request. Both are fixed in this patch: * switch to use `storage_service/auto_compaction/{keyspace}` endpoint * check the result of the API calls and report errors as exceptions Fixes: #13553 Closes #13568
- Loading branch information