diff --git a/kroxylicious-systemtests/src/test/java/io/kroxylicious/systemtests/extensions/KroxyliciousExtension.java b/kroxylicious-systemtests/src/test/java/io/kroxylicious/systemtests/extensions/KroxyliciousExtension.java index 91c3049b89..9eba5bfa19 100644 --- a/kroxylicious-systemtests/src/test/java/io/kroxylicious/systemtests/extensions/KroxyliciousExtension.java +++ b/kroxylicious-systemtests/src/test/java/io/kroxylicious/systemtests/extensions/KroxyliciousExtension.java @@ -47,7 +47,7 @@ public Object resolveParameter(ParameterContext parameterContext, ExtensionConte Class type = parameter.getType(); LOGGER.trace("test {}: Resolving parameter ({} {})", extensionContext.getUniqueId(), type.getSimpleName(), parameter.getName()); if (String.class.getTypeName().equals(type.getName())) { - if (parameter.getName().contains("namespace")) { + if (parameter.getName().toLowerCase().contains("namespace")) { return namespace; } }