PHOENIX-5000 Make SecureUserConnectionsTest as Integration test (Addendum)
Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/bb17957c Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/bb17957c Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/bb17957c Branch: refs/heads/4.x-cdh5.15 Commit: bb17957ca2938093dd94bed6052cde92e28d176a Parents: d2e4a73 Author: Karan Mehta <karanmeht...@gmail.com> Authored: Mon Nov 19 22:48:32 2018 +0000 Committer: Pedro Boado <pbo...@apache.org> Committed: Tue Nov 27 15:12:15 2018 +0000 ---------------------------------------------------------------------- .../it/java/org/apache/phoenix/jdbc/SecureUserConnectionsIT.java | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/phoenix/blob/bb17957c/phoenix-core/src/it/java/org/apache/phoenix/jdbc/SecureUserConnectionsIT.java ---------------------------------------------------------------------- diff --git a/phoenix-core/src/it/java/org/apache/phoenix/jdbc/SecureUserConnectionsIT.java b/phoenix-core/src/it/java/org/apache/phoenix/jdbc/SecureUserConnectionsIT.java index eaf981b..1ab54d2 100644 --- a/phoenix-core/src/it/java/org/apache/phoenix/jdbc/SecureUserConnectionsIT.java +++ b/phoenix-core/src/it/java/org/apache/phoenix/jdbc/SecureUserConnectionsIT.java @@ -39,6 +39,7 @@ import org.apache.hadoop.hbase.security.User; import org.apache.hadoop.minikdc.MiniKdc; import org.apache.hadoop.security.UserGroupInformation; import org.apache.hadoop.security.authentication.util.KerberosName; +import org.apache.phoenix.end2end.NeedsOwnMiniClusterTest; import org.apache.phoenix.jdbc.PhoenixEmbeddedDriver.ConnectionInfo; import org.apache.phoenix.query.ConfigurationFactory; import org.apache.phoenix.util.InstanceResolver; @@ -47,6 +48,7 @@ import org.apache.phoenix.util.ReadOnlyProps; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.Test; +import org.junit.experimental.categories.Category; /** * Tests ConnectionQueryServices caching when Kerberos authentication is enabled. It's not @@ -54,6 +56,7 @@ import org.junit.Test; * a ConcurrentHashMap. We can use a HashSet to determine when instances of ConnectionInfo * collide and when they do not. */ +@Category(NeedsOwnMiniClusterTest.class) public class SecureUserConnectionsIT { private static final Log LOG = LogFactory.getLog(SecureUserConnectionsIT.class); private static final int KDC_START_ATTEMPTS = 10;