Skip to content

Commit

Permalink
skip flake test_optimized_partition_tracker unit test (#5052)
Browse files Browse the repository at this point in the history
  • Loading branch information
enochtangg committed Nov 16, 2023
1 parent 488dd4f commit 557f3cc
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions tests/clickhouse/optimize/test_optimize_tracker.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import os
import time
import uuid
from datetime import datetime, timedelta
Expand Down Expand Up @@ -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(
*,
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 557f3cc

Please sign in to comment.