[HBASE-24893] Fix failing TestLogLevel Unit Test (#2338)
Signed-off-by: Andrew Purtell <apurtell@apache.org>
This commit is contained in:
parent
80ce76cb02
commit
1dc75e74a7
|
@ -470,7 +470,7 @@ public class TestLogLevel {
|
||||||
Throwable t = throwable;
|
Throwable t = throwable;
|
||||||
while (t != null) {
|
while (t != null) {
|
||||||
String msg = t.toString();
|
String msg = t.toString();
|
||||||
if (msg != null && msg.contains(substr)) {
|
if (msg != null && msg.toLowerCase().contains(substr.toLowerCase())) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
t = t.getCause();
|
t = t.getCause();
|
||||||
|
|
Loading…
Reference in New Issue