You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ap...@apache.org on 2020/09/01 21:52:51 UTC
[hbase] branch branch-1 updated: [HBASE-24893] Fix failing
TestLogLevel Unit Test (#2338)
This is an automated email from the ASF dual-hosted git repository.
apurtell pushed a commit to branch branch-1
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-1 by this push:
new 1dc75e7 [HBASE-24893] Fix failing TestLogLevel Unit Test (#2338)
1dc75e7 is described below
commit 1dc75e74a73eb3a49a7ebe0688a009d648fc9725
Author: Abhey Rana <ab...@gmail.com>
AuthorDate: Wed Sep 2 03:22:26 2020 +0530
[HBASE-24893] Fix failing TestLogLevel Unit Test (#2338)
Signed-off-by: Andrew Purtell <ap...@apache.org>
---
.../src/test/java/org/apache/hadoop/hbase/http/log/TestLogLevel.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 6868b0e..b475c1a 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();