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:08:41 GMT
Repository: sentry
Updated Branches:
  refs/heads/master 7c43d760a -> d360d08e3


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/d360d08e
Tree: http://git-wip-us.apache.org/repos/asf/sentry/tree/d360d08e
Diff: http://git-wip-us.apache.org/repos/asf/sentry/diff/d360d08e

Branch: refs/heads/master
Commit: d360d08e360a817f165e1c8b49f27d878a4f996b
Parents: 7c43d76
Author: Alexander Kolbasov <akolb@cloudera.com>
Authored: Thu May 25 20:08:07 2017 -0700
Committer: Alexander Kolbasov <akolb@cloudera.com>
Committed: Thu May 25 20:08:07 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/d360d08e/sentry-hdfs/sentry-hdfs-common/src/test/java/org/apache/sentry/hdfs/TestKrbConnectionTimeout.java
----------------------------------------------------------------------
diff --git a/sentry-hdfs/sentry-hdfs-common/src/test/java/org/apache/sentry/hdfs/TestKrbConnectionTimeout.java
b/sentry-hdfs/sentry-hdfs-common/src/test/java/org/apache/sentry/hdfs/TestKrbConnectionTimeout.java
index b62a83f..c9afb38 100644
--- a/sentry-hdfs/sentry-hdfs-common/src/test/java/org/apache/sentry/hdfs/TestKrbConnectionTimeout.java
+++ b/sentry-hdfs/sentry-hdfs-common/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