From e170fa1c998bfe082ae89eb6d74ddbc5bf7fd8bf Mon Sep 17 00:00:00 2001 From: Aleksandra Martyniuk Date: Tue, 7 Mar 2023 17:34:16 +0100 Subject: [PATCH] test: extend test_compaction_task.py to test rewrite sstables compaction --- test/rest_api/test_compaction_task.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/rest_api/test_compaction_task.py b/test/rest_api/test_compaction_task.py index 3549648981..208b9af3aa 100644 --- a/test/rest_api/test_compaction_task.py +++ b/test/rest_api/test_compaction_task.py @@ -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}"))