From f0a82774c3da01be5f571332ce9c329787ba4533 Mon Sep 17 00:00:00 2001 From: Volo Kluev Date: Wed, 12 Jun 2024 11:09:46 -0700 Subject: [PATCH] use snuba test in all dbs --- tests/clickhouse/optimize/test_optimize_tracker.py | 1 + tests/conftest.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/clickhouse/optimize/test_optimize_tracker.py b/tests/clickhouse/optimize/test_optimize_tracker.py index b6f91cd2069..131f0dc2105 100644 --- a/tests/clickhouse/optimize/test_optimize_tracker.py +++ b/tests/clickhouse/optimize/test_optimize_tracker.py @@ -123,6 +123,7 @@ def write_error_message(writable_storage: WritableTableStorage, time: int) -> No clickhouse_pool = cluster.get_query_connection(ClickhouseClientSettings.OPTIMIZE) table = storage.get_table_writer().get_schema().get_local_table_name() database = cluster.get_database() + assert database == "snuba_test" tracker = OptimizedPartitionTracker( redis_client=redis_client, host=cluster.get_host(), diff --git a/tests/conftest.py b/tests/conftest.py index 0df28ead8f9..418034ec5ca 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -50,7 +50,7 @@ def create_databases() -> None: port=cluster["port"], user="default", password="", - database="default", + database="snuba_test", http_port=cluster["http_port"], storage_sets=cluster["storage_sets"], single_node=cluster["single_node"],