diff --git a/tests/clickhouse/optimize/test_optimize_tracker.py b/tests/clickhouse/optimize/test_optimize_tracker.py index 78140fb416..9dc6877801 100644 --- a/tests/clickhouse/optimize/test_optimize_tracker.py +++ b/tests/clickhouse/optimize/test_optimize_tracker.py @@ -1,4 +1,3 @@ -import os import time import uuid from datetime import datetime, timedelta @@ -45,10 +44,11 @@ ) @pytest.mark.clickhouse_db @pytest.mark.redis_db -@pytest.mark.skipif( - os.environ.get("SNUBA_SETTINGS") == "test_distributed", - reason="This test is flaky for distributed tests", -) +# @pytest.mark.skipif( +# os.environ.get("SNUBA_SETTINGS") == "test_distributed", +# reason="This test is flaky for distributed tests", +# ) +@pytest.mark.skip(reason="This test is flaky and fails unexpectedly on CI") def test_optimized_partition_tracker(tracker: OptimizedPartitionTracker) -> None: def assert_partitions( *, @@ -244,7 +244,6 @@ def write_error_message(writable_storage: WritableTableStorage, time: int) -> No assert len(tracker.get_completed_partitions()) == 0 with patch.object(optimize, "get_current_large_merges") as mock_merge_ids: - # mock ongoing merges on half the partitions current_merges = [ MergeInfo(