knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From su...@apache.org
Subject knox git commit: KNOX-651 Moving some tests to integration-test phase
Date Thu, 21 Jan 2016 20:53:51 GMT
Repository: knox
Updated Branches:
  refs/heads/master 30a5f7ece -> 22be2b9a7


KNOX-651 Moving some tests to integration-test phase


Project: http://git-wip-us.apache.org/repos/asf/knox/repo
Commit: http://git-wip-us.apache.org/repos/asf/knox/commit/22be2b9a
Tree: http://git-wip-us.apache.org/repos/asf/knox/tree/22be2b9a
Diff: http://git-wip-us.apache.org/repos/asf/knox/diff/22be2b9a

Branch: refs/heads/master
Commit: 22be2b9a731ec254fa010e109223ec29b63ae11a
Parents: 30a5f7e
Author: Sumit Gupta <sumit@apache.org>
Authored: Thu Jan 21 15:52:52 2016 -0500
Committer: Sumit Gupta <sumit@apache.org>
Committed: Thu Jan 21 15:53:45 2016 -0500

----------------------------------------------------------------------
 gateway-test-release/webhdfs-kerb-test/pom.xml                  | 1 +
 .../java/org/apache/hadoop/gateway/GatewayDeployFuncTest.java   | 3 +++
 .../test/java/org/apache/hadoop/gateway/WebHdfsHaFuncTest.java  | 5 ++---
 3 files changed, 6 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/knox/blob/22be2b9a/gateway-test-release/webhdfs-kerb-test/pom.xml
----------------------------------------------------------------------
diff --git a/gateway-test-release/webhdfs-kerb-test/pom.xml b/gateway-test-release/webhdfs-kerb-test/pom.xml
index 6045e96..3441e57 100644
--- a/gateway-test-release/webhdfs-kerb-test/pom.xml
+++ b/gateway-test-release/webhdfs-kerb-test/pom.xml
@@ -27,6 +27,7 @@
 
     <artifactId>webhdfs-kerb-test</artifactId>
     <name>webhdfs-kerb-test</name>
+    <version>0.8.0-SNAPSHOT</version>
     <description>Tests for WebHDFS integration with Knox and Kerberos enabled</description>
     <build>
         <plugins>

http://git-wip-us.apache.org/repos/asf/knox/blob/22be2b9a/gateway-test/src/test/java/org/apache/hadoop/gateway/GatewayDeployFuncTest.java
----------------------------------------------------------------------
diff --git a/gateway-test/src/test/java/org/apache/hadoop/gateway/GatewayDeployFuncTest.java
b/gateway-test/src/test/java/org/apache/hadoop/gateway/GatewayDeployFuncTest.java
index c944796..990d776 100644
--- a/gateway-test/src/test/java/org/apache/hadoop/gateway/GatewayDeployFuncTest.java
+++ b/gateway-test/src/test/java/org/apache/hadoop/gateway/GatewayDeployFuncTest.java
@@ -26,6 +26,7 @@ import org.apache.hadoop.gateway.config.GatewayConfig;
 import org.apache.hadoop.gateway.security.ldap.SimpleLdapDirectoryServer;
 import org.apache.hadoop.gateway.services.DefaultGatewayServices;
 import org.apache.hadoop.gateway.services.ServiceLifecycleException;
+import org.apache.hadoop.test.category.ReleaseTest;
 import org.apache.http.HttpStatus;
 import org.apache.log4j.Appender;
 import org.hamcrest.MatcherAssert;
@@ -35,6 +36,7 @@ import org.junit.AfterClass;
 import org.junit.Before;
 import org.junit.BeforeClass;
 import org.junit.Test;
+import org.junit.experimental.categories.Category;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -60,6 +62,7 @@ import static org.hamcrest.CoreMatchers.notNullValue;
 import static org.hamcrest.Matchers.greaterThan;
 import static org.junit.Assert.assertThat;
 
+@Category(ReleaseTest.class)
 public class GatewayDeployFuncTest {
 
   private static final long SHORT_TIMEOUT = 1000L;

http://git-wip-us.apache.org/repos/asf/knox/blob/22be2b9a/gateway-test/src/test/java/org/apache/hadoop/gateway/WebHdfsHaFuncTest.java
----------------------------------------------------------------------
diff --git a/gateway-test/src/test/java/org/apache/hadoop/gateway/WebHdfsHaFuncTest.java b/gateway-test/src/test/java/org/apache/hadoop/gateway/WebHdfsHaFuncTest.java
index fab2429..33290e7 100644
--- a/gateway-test/src/test/java/org/apache/hadoop/gateway/WebHdfsHaFuncTest.java
+++ b/gateway-test/src/test/java/org/apache/hadoop/gateway/WebHdfsHaFuncTest.java
@@ -19,8 +19,7 @@ package org.apache.hadoop.gateway;
 
 import com.mycila.xmltool.XMLDoc;
 import com.mycila.xmltool.XMLTag;
-import org.apache.hadoop.test.category.VerifyTest;
-import org.apache.hadoop.test.category.MediumTests;
+import org.apache.hadoop.test.category.ReleaseTest;
 import org.apache.hadoop.test.mock.MockServer;
 import org.apache.http.HttpStatus;
 import org.junit.After;
@@ -37,7 +36,7 @@ import static org.apache.hadoop.test.TestUtils.LOG_ENTER;
 import static org.apache.hadoop.test.TestUtils.LOG_EXIT;
 import static org.hamcrest.CoreMatchers.is;
 
-@Category({VerifyTest.class, MediumTests.class})
+@Category(ReleaseTest.class)
 public class WebHdfsHaFuncTest {
 
    private static final long SHORT_TIMEOUT = 1000L;


Mime
View raw message