Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ducktape: disable test_replica_placement.num_partitions=400 #11590

Merged
merged 1 commit into from
Jun 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions tests/rptest/tests/rack_aware_replica_placement_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@

import random
import os
from collections import defaultdict
from ducktape.utils.util import wait_until
from ducktape.mark import matrix
from rptest.clients.types import TopicSpec
from rptest.clients.rpk import RpkTool
from rptest.services.admin import Admin

from rptest.clients.default import DefaultClient
from rptest.services.cluster import cluster
from rptest.tests.redpanda_test import RedpandaTest
from collections import defaultdict
from rptest.utils.mode_checks import cleanup_on_early_exit


class RackAwarePlacementTest(RedpandaTest):
Expand Down Expand Up @@ -114,6 +114,14 @@ def test_replica_placement(self, rack_layout_str, num_partitions,
@param replication_factor defines recplication factor of all partitions.
"""

# https://github.com/redpanda-data/redpanda/issues/11276
if self.debug_mode and num_partitions == 400:
self.logger.info(
"Disabling test in debug mode due to slowness/timeouts with large number of partitions."
)
cleanup_on_early_exit(self)
return
bharathv marked this conversation as resolved.
Show resolved Hide resolved

rack_layout = [str(i) for i in rack_layout_str]
assert len(rack_layout) == 6

Expand Down