hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From harisan...@apache.org
Subject hive git commit: HIVE-14612: org.apache.hive.service.cli.operation.TestOperationLoggingLayout.testSwitchLogLayout failure (Hari Subramaniyan, reviewed by Prasanth Jayachandran)
Date Thu, 25 Aug 2016 23:38:37 GMT
Repository: hive
Updated Branches:
  refs/heads/master be2829c43 -> 9ebf4023e


HIVE-14612: org.apache.hive.service.cli.operation.TestOperationLoggingLayout.testSwitchLogLayout
failure (Hari Subramaniyan, reviewed by Prasanth Jayachandran)


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/9ebf4023
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/9ebf4023
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/9ebf4023

Branch: refs/heads/master
Commit: 9ebf4023e4f4b8d3909404f4e0a4fc5dce889a47
Parents: be2829c
Author: Hari Subramaniyan <harisankar@apache.org>
Authored: Thu Aug 25 16:38:28 2016 -0700
Committer: Hari Subramaniyan <harisankar@apache.org>
Committed: Thu Aug 25 16:38:28 2016 -0700

----------------------------------------------------------------------
 .../hive/service/cli/operation/TestOperationLoggingLayout.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/9ebf4023/itests/hive-unit/src/test/java/org/apache/hive/service/cli/operation/TestOperationLoggingLayout.java
----------------------------------------------------------------------
diff --git a/itests/hive-unit/src/test/java/org/apache/hive/service/cli/operation/TestOperationLoggingLayout.java
b/itests/hive-unit/src/test/java/org/apache/hive/service/cli/operation/TestOperationLoggingLayout.java
index 4677257..e344e0f 100644
--- a/itests/hive-unit/src/test/java/org/apache/hive/service/cli/operation/TestOperationLoggingLayout.java
+++ b/itests/hive-unit/src/test/java/org/apache/hive/service/cli/operation/TestOperationLoggingLayout.java
@@ -98,7 +98,7 @@ public class TestOperationLoggingLayout {
     // non-verbose pattern is %-5p : %m%n. Look for " : "
     while (iter.hasNext()) {
       String row = iter.next()[0].toString();
-      Assert.assertEquals(true, row.matches("^(FATAL|ERROR|WARN|INFO|DEBUG|TRACE).*$"));
+      Assert.assertEquals(true, row.matches("^.*(FATAL|ERROR|WARN|INFO|DEBUG|TRACE).*$"));
     }
 
     String queryString = "set hive.server2.logging.operation.level=verbose";


Mime
View raw message