[HBASE-24893] Fix failing TestLogLevel Unit Test (#2338)

Signed-off-by: Andrew Purtell <apurtell@apache.org>
This commit is contained in:
Abhey Rana 2020-09-02 03:22:26 +05:30 committed by GitHub
parent 80ce76cb02
commit 1dc75e74a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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();