Skip to content

Commit

Permalink
tests: enhance error message in test_valid_settings
Browse files Browse the repository at this point in the history
  • Loading branch information
dlex committed May 23, 2023
1 parent 062e4f4 commit c975ac2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/rptest/tests/cluster_config_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ def test_valid_settings(self):
elif p['type'] == "array" and p['items']['type'] == 'string':
valid_value = ["custard", "cream"]
else:
raise NotImplementedError(p['type'])
raise NotImplementedError(f"{p['type']} in {name}")

if name == 'sasl_mechanisms':
# The default value is ['SCRAM'], but the array cannot contain
Expand Down

0 comments on commit c975ac2

Please sign in to comment.