Skip to content

Commit 1dc75e7

Browse files
[HBASE-24893] Fix failing TestLogLevel Unit Test (#2338)
Signed-off-by: Andrew Purtell <apurtell@apache.org>
1 parent 80ce76c commit 1dc75e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hbase-server/src/test/java/org/apache/hadoop/hbase/http/log/TestLogLevel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ private static void exceptionShouldContains(String substr, Throwable throwable)
470470
Throwable t = throwable;
471471
while (t != null) {
472472
String msg = t.toString();
473-
if (msg != null && msg.contains(substr)) {
473+
if (msg != null && msg.toLowerCase().contains(substr.toLowerCase())) {
474474
return;
475475
}
476476
t = t.getCause();

0 commit comments

Comments
 (0)