knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmin...@apache.org
Subject [3/3] git commit: KNOX-406: Add provider name to test topologies to prevent intermittent test failures
Date Mon, 28 Jul 2014 16:16:52 GMT
KNOX-406: Add provider name to test topologies to prevent intermittent test failures


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

Branch: refs/heads/master
Commit: eba3eb96c23733706f20394777b809d8c136485b
Parents: fd623eb
Author: Kevin Minder <kevin.minder@hortonworks.com>
Authored: Mon Jul 28 12:16:45 2014 -0400
Committer: Kevin Minder <kevin.minder@hortonworks.com>
Committed: Mon Jul 28 12:16:45 2014 -0400

----------------------------------------------------------------------
 .../hadoop/gateway/GatewayAdminFuncTest.java    |    1 +
 .../gateway/GatewayAdminTopologyFuncTest.java   |    2 +
 .../hadoop/gateway/GatewayBasicFuncTest.java    |    1 +
 .../gateway/GatewayBasicFuncTest.java.orig      | 2732 ++++++++++++++++++
 .../hadoop/gateway/GatewayDeployFuncTest.java   |    1 +
 .../gateway/GatewayLocalServiceFuncTest.java    |    1 +
 .../hadoop/gateway/GatewaySampleFuncTest.java   |    1 +
 .../deploy/DeploymentFactoryFuncTest.java       |    1 +
 8 files changed, 2740 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/knox/blob/eba3eb96/gateway-test/src/test/java/org/apache/hadoop/gateway/GatewayAdminFuncTest.java
----------------------------------------------------------------------
diff --git a/gateway-test/src/test/java/org/apache/hadoop/gateway/GatewayAdminFuncTest.java
b/gateway-test/src/test/java/org/apache/hadoop/gateway/GatewayAdminFuncTest.java
index 03c8b71..6f4b624 100644
--- a/gateway-test/src/test/java/org/apache/hadoop/gateway/GatewayAdminFuncTest.java
+++ b/gateway-test/src/test/java/org/apache/hadoop/gateway/GatewayAdminFuncTest.java
@@ -133,6 +133,7 @@ public class GatewayAdminFuncTest {
         .addTag( "gateway" )
         .addTag( "provider" )
         .addTag( "role" ).addText( "authentication" )
+        .addTag( "name" ).addText( "ShiroProvider" )
         .addTag( "enabled" ).addText( "true" )
         .addTag( "param" )
         .addTag( "name" ).addText( "main.ldapRealm" )

http://git-wip-us.apache.org/repos/asf/knox/blob/eba3eb96/gateway-test/src/test/java/org/apache/hadoop/gateway/GatewayAdminTopologyFuncTest.java
----------------------------------------------------------------------
diff --git a/gateway-test/src/test/java/org/apache/hadoop/gateway/GatewayAdminTopologyFuncTest.java
b/gateway-test/src/test/java/org/apache/hadoop/gateway/GatewayAdminTopologyFuncTest.java
index 613700e..565cbd7 100644
--- a/gateway-test/src/test/java/org/apache/hadoop/gateway/GatewayAdminTopologyFuncTest.java
+++ b/gateway-test/src/test/java/org/apache/hadoop/gateway/GatewayAdminTopologyFuncTest.java
@@ -148,6 +148,7 @@ public class GatewayAdminTopologyFuncTest {
         .addTag( "value" ).addText( "true" ).gotoParent().gotoParent()
         .addTag( "provider" )
         .addTag( "role" ).addText( "authentication" )
+        .addTag( "name" ).addText( "ShiroProvider" )
         .addTag( "enabled" ).addText( "true" )
         .addTag( "param" )
         .addTag( "name" ).addText( "main.ldapRealm" )
@@ -190,6 +191,7 @@ public class GatewayAdminTopologyFuncTest {
         .addTag( "gateway" )
         .addTag( "provider" )
         .addTag( "role" ).addText( "authentication" )
+        .addTag( "name" ).addText( "ShiroProvider" )
         .addTag( "enabled" ).addText( "true" )
         .addTag( "param" )
         .addTag( "name" ).addText( "main.ldapRealm" )

http://git-wip-us.apache.org/repos/asf/knox/blob/eba3eb96/gateway-test/src/test/java/org/apache/hadoop/gateway/GatewayBasicFuncTest.java
----------------------------------------------------------------------
diff --git a/gateway-test/src/test/java/org/apache/hadoop/gateway/GatewayBasicFuncTest.java
b/gateway-test/src/test/java/org/apache/hadoop/gateway/GatewayBasicFuncTest.java
index 0eddaa0..4ab1dfd 100644
--- a/gateway-test/src/test/java/org/apache/hadoop/gateway/GatewayBasicFuncTest.java
+++ b/gateway-test/src/test/java/org/apache/hadoop/gateway/GatewayBasicFuncTest.java
@@ -176,6 +176,7 @@ public class GatewayBasicFuncTest {
                 .addTag( "value" ).addText( "true" ).gotoParent().gotoParent()
             .addTag( "provider" )
               .addTag( "role" ).addText( "authentication" )
+              .addTag( "name" ).addText( "ShiroProvider" )
               .addTag( "enabled" ).addText( "true" )
               .addTag( "param" )
                 .addTag( "name" ).addText( "main.ldapRealm" )


Mime
View raw message