Skip to content

Commit 2f9dd1b

Browse files
authored
Merge pull request #31023 from pgellert/fix/sr-dt-mode-mutability-default
sr/dt: default mode_mutability to true, matching the broker
2 parents d435ce3 + d426af6 commit 2f9dd1b

4 files changed

Lines changed: 1 addition & 8 deletions

File tree

tests/rptest/services/redpanda.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1277,7 +1277,7 @@ class SchemaRegistryConfig(TlsConfig):
12771277
SR_TLS_CLIENT_KEY_FILE = "/etc/redpanda/sr_client.key"
12781278
SR_TLS_CLIENT_CRT_FILE = "/etc/redpanda/sr_client.crt"
12791279

1280-
mode_mutability = False
1280+
mode_mutability = True
12811281

12821282
def __init__(self) -> None:
12831283
super(SchemaRegistryConfig, self).__init__()

tests/rptest/tests/audit_log_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3000,7 +3000,6 @@ class AuditLogTestSchemaRegistryBase(AuditLogTestBase):
30003000
def __init__(self, test_context, **kwargs):
30013001
sr_config = SchemaRegistryConfig()
30023002
sr_config.authn_method = "http_basic"
3003-
sr_config.mode_mutability = True
30043003
extra_rp_conf = {"schema_registry_use_rpc": False}
30053004
if "extra_rp_conf" in kwargs:
30063005
extra_rp_conf.update(kwargs.pop("extra_rp_conf"))

tests/rptest/tests/rpk_registry_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ def __init__(self, ctx, schema_registry_config=SchemaRegistryConfig()):
7171

7272
self.schema_registry_config = SchemaRegistryConfig()
7373
self.schema_registry_config.require_client_auth = True
74-
self.schema_registry_config.mode_mutability = True
7574

7675
# Override Redpanda start to create the certs and enable auth.
7776
def setUp(self):

tests/rptest/tests/schema_registry_test.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5208,14 +5208,11 @@ class SchemaRegistryContextTestBase(SchemaRegistryEndpoints):
52085208
"""
52095209

52105210
def __init__(self, context: TestContext, **kwargs: Any):
5211-
schema_registry_config = SchemaRegistryConfig()
5212-
schema_registry_config.mode_mutability = True
52135211
extra_rp_conf = {}
52145212
if "extra_rp_conf" in kwargs:
52155213
extra_rp_conf.update(kwargs.pop("extra_rp_conf"))
52165214
super().__init__(
52175215
context,
5218-
schema_registry_config=schema_registry_config,
52195216
extra_rp_conf=extra_rp_conf,
52205217
**kwargs,
52215218
)
@@ -7379,7 +7376,6 @@ def __init__(self, context, **kwargs):
73797376

73807377
schema_registry_config = SchemaRegistryConfig()
73817378
schema_registry_config.authn_method = "http_basic"
7382-
schema_registry_config.mode_mutability = True
73837379

73847380
extra_rp_conf = {}
73857381
if "extra_rp_conf" in kwargs:
@@ -10472,7 +10468,6 @@ def __init__(self, context, extra_rp_conf: dict | None = None, **kwargs):
1047210468

1047310469
schema_registry_config = SchemaRegistryConfig()
1047410470
schema_registry_config.authn_method = "http_basic"
10475-
schema_registry_config.mode_mutability = True
1047610471

1047710472
merged_rp_conf = {"schema_registry_use_rpc": False}
1047810473
if extra_rp_conf:

0 commit comments

Comments
 (0)