sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amis...@apache.org
Subject [sentry] branch master updated: SENTRY-2494: Fix TestRollingFileWithoutDeleteAppender test case testFileNamePattern (Arjun Mishra reviewed by Kalyan Kumar Kalvagadda)
Date Mon, 11 Feb 2019 21:45:15 GMT
This is an automated email from the ASF dual-hosted git repository.

amishra pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sentry.git


The following commit(s) were added to refs/heads/master by this push:
     new a9326c8  SENTRY-2494: Fix TestRollingFileWithoutDeleteAppender test case testFileNamePattern
(Arjun Mishra reviewed by Kalyan Kumar Kalvagadda)
a9326c8 is described below

commit a9326c813ace760b01c19c0ef52a7531cee0dfbb
Author: amishra <amishra@cloudera.com>
AuthorDate: Mon Feb 11 15:45:04 2019 -0600

    SENTRY-2494: Fix TestRollingFileWithoutDeleteAppender test case testFileNamePattern (Arjun
Mishra reviewed by Kalyan Kumar Kalvagadda)
---
 .../db/log/appender/TestRollingFileWithoutDeleteAppender.java        | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sentry-service/sentry-service-server/src/test/java/org/apache/sentry/provider/db/log/appender/TestRollingFileWithoutDeleteAppender.java
b/sentry-service/sentry-service-server/src/test/java/org/apache/sentry/provider/db/log/appender/TestRollingFileWithoutDeleteAppender.java
index 5db15a3..6ee6b08 100644
--- a/sentry-service/sentry-service-server/src/test/java/org/apache/sentry/provider/db/log/appender/TestRollingFileWithoutDeleteAppender.java
+++ b/sentry-service/sentry-service-server/src/test/java/org/apache/sentry/provider/db/log/appender/TestRollingFileWithoutDeleteAppender.java
@@ -86,8 +86,9 @@ public class TestRollingFileWithoutDeleteAppender {
         new PatternLayout("%m%n"), dataDir.getPath() + "/auditLog.log");
     appender.setMaximumFileSize(10);
     sentryLogger.addAppender(appender);
-    sentryLogger.debug("123456789012345");
-    sentryLogger.debug("123456789012345");
+    sentryLogger.debug("1234567890");
+    sentryLogger.debug("1234567890");
+    sentryLogger.debug("12345678");
     File[] files = dataDir.listFiles();
     assertNotNull(files);
     assertEquals(3, files.length);


Mime
View raw message