Skip to content

Commit

Permalink
optimize tracker
Browse files Browse the repository at this point in the history
  • Loading branch information
volokluev committed Jun 11, 2024
1 parent fab5310 commit 327fc7a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/clickhouse/optimize/test_optimize_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
),
],
)
@pytest.mark.clickhouse_db(storage_keys=["errors"])(storage_keys=["errors"])
@pytest.mark.clickhouse_db(storage_keys=["errors", "errors_ro"])
@pytest.mark.redis_db
# @pytest.mark.skipif(
# os.environ.get("SNUBA_SETTINGS") == "test_distributed",
Expand Down Expand Up @@ -96,7 +96,7 @@ def _do_assertions() -> None:
assert_partitions(all=set(), completed=set())


@pytest.mark.clickhouse_db(storage_keys=["errors"])
@pytest.mark.clickhouse_db(storage_keys=["errors", "errors_ro"])
@pytest.mark.redis_db
def test_run_optimize_with_partition_tracker() -> None:
def write_error_message(writable_storage: WritableTableStorage, time: int) -> None:
Expand Down Expand Up @@ -186,7 +186,7 @@ def write_error_message(writable_storage: WritableTableStorage, time: int) -> No
assert num_optimized == original_num_partitions


@pytest.mark.clickhouse_db(storage_keys=["errors"])
@pytest.mark.clickhouse_db(storage_keys=["errors", "errors_ro"])
@pytest.mark.redis_db
def test_run_optimize_with_ongoing_merges() -> None:
def write_error_message(writable_storage: WritableTableStorage, time: int) -> None:
Expand Down

0 comments on commit 327fc7a

Please sign in to comment.