sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ak...@apache.org
Subject sentry git commit: SENTRY-1785: Fix TestKrbConnectionTimeout test (Kalyan Kalvagadda, reviewed by: Na Li, Vamsee Yarlagadda, Alex Kolbasov)
Date Fri, 26 May 2017 03:10:47 GMT
Repository: sentry
Updated Branches:
  refs/heads/sentry-ha-redesign f30b80b28 -> 75a8faf15


SENTRY-1785: Fix TestKrbConnectionTimeout test (Kalyan Kalvagadda, reviewed by: Na Li, Vamsee
Yarlagadda, Alex Kolbasov)


Project: http://git-wip-us.apache.org/repos/asf/sentry/repo
Commit: http://git-wip-us.apache.org/repos/asf/sentry/commit/75a8faf1
Tree: http://git-wip-us.apache.org/repos/asf/sentry/tree/75a8faf1
Diff: http://git-wip-us.apache.org/repos/asf/sentry/diff/75a8faf1

Branch: refs/heads/sentry-ha-redesign
Commit: 75a8faf15e8b6c340774145bde0e5f080f68b7fd
Parents: f30b80b
Author: Alexander Kolbasov <akolb@cloudera.com>
Authored: Thu May 25 20:10:15 2017 -0700
Committer: Alexander Kolbasov <akolb@cloudera.com>
Committed: Thu May 25 20:10:15 2017 -0700

----------------------------------------------------------------------
 .../java/org/apache/sentry/hdfs/TestKrbConnectionTimeout.java   | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sentry/blob/75a8faf1/sentry-hdfs/sentry-hdfs-service/src/test/java/org/apache/sentry/hdfs/TestKrbConnectionTimeout.java
----------------------------------------------------------------------
diff --git a/sentry-hdfs/sentry-hdfs-service/src/test/java/org/apache/sentry/hdfs/TestKrbConnectionTimeout.java
b/sentry-hdfs/sentry-hdfs-service/src/test/java/org/apache/sentry/hdfs/TestKrbConnectionTimeout.java
index b62a83f..c9afb38 100644
--- a/sentry-hdfs/sentry-hdfs-service/src/test/java/org/apache/sentry/hdfs/TestKrbConnectionTimeout.java
+++ b/sentry-hdfs/sentry-hdfs-service/src/test/java/org/apache/sentry/hdfs/TestKrbConnectionTimeout.java
@@ -18,7 +18,6 @@
 package org.apache.sentry.hdfs;
 
 import org.apache.hadoop.minikdc.MiniKdc;
-import org.junit.Assume;
 import org.junit.Before;
 import org.junit.BeforeClass;
 import org.junit.Test;
@@ -27,9 +26,7 @@ public class TestKrbConnectionTimeout extends
  SentryHdfsServiceIntegrationBase {
 
   @BeforeClass
-  public static void setup() throws Exception {
-    Assume.assumeTrue("true".equalsIgnoreCase(System.getProperty(
-        "sentry.hive.test.ticket.timeout", "false")));
+  public static void setupConf() throws Exception {
     kdcConfOverlay.setProperty(MiniKdc.MAX_TICKET_LIFETIME, "300001");
     setup();
   }


Mime
View raw message