test: extend test_compaction_task.py to test rewrite sstables compaction

This commit is contained in:
Aleksandra Martyniuk
2023-03-07 17:34:16 +01:00
parent a93f044efa
commit e170fa1c99

View File

@@ -44,3 +44,6 @@ def test_cleanup_keyspace_compaction_task(cql, this_dc, rest_api):
def test_offstrategy_keyspace_compaction_task(cql, this_dc, rest_api):
check_compaction_task(cql, this_dc, rest_api, lambda keyspace, _: rest_api.send("POST", f"storage_service/keyspace_offstrategy_compaction/{keyspace}"))
def test_rewrite_sstables_keyspace_compaction_task(cql, this_dc, rest_api):
check_compaction_task(cql, this_dc, rest_api, lambda keyspace, _: rest_api.send("GET", f"storage_service/keyspace_upgrade_sstables/{keyspace}"))