diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/http/log/TestLogLevel.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/http/log/TestLogLevel.java index 6868b0e9441..b475c1a03e8 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/http/log/TestLogLevel.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/http/log/TestLogLevel.java @@ -470,7 +470,7 @@ public class TestLogLevel { Throwable t = throwable; while (t != null) { String msg = t.toString(); - if (msg != null && msg.contains(substr)) { + if (msg != null && msg.toLowerCase().contains(substr.toLowerCase())) { return; } t = t.getCause();