falcon-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ajayyad...@apache.org
Subject falcon git commit: FALCON-1408 Add more logging information for failing ClusterEntityValidationIT. Contributed by Pavan Kumar Kolamuri.
Date Fri, 18 Sep 2015 08:58:59 GMT
Repository: falcon
Updated Branches:
  refs/heads/master 52ce7f833 -> 393169367


FALCON-1408 Add more logging information for failing ClusterEntityValidationIT. Contributed
by Pavan Kumar Kolamuri.


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

Branch: refs/heads/master
Commit: 39316936707dbf76ce990de7798373d7698caa24
Parents: 52ce7f8
Author: Ajay Yadava <ajaynsit@gmail.com>
Authored: Fri Sep 18 14:28:35 2015 +0530
Committer: Ajay Yadava <ajaynsit@gmail.com>
Committed: Fri Sep 18 14:28:35 2015 +0530

----------------------------------------------------------------------
 CHANGES.txt                                                      | 2 ++
 .../apache/falcon/workflow/engine/AbstractWorkflowEngine.java    | 1 +
 .../org/apache/falcon/validation/ClusterEntityValidationIT.java  | 4 +++-
 3 files changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/falcon/blob/39316936/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index db11e40..2325052 100755
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -27,6 +27,8 @@ Trunk (Unreleased)
   OPTIMIZATIONS
 
   BUG FIXES
+    FALCON-1408 Add more logging information for failing ClusterEntityValidationIT(Pavan
Kumar Kolamuri via Ajay Yadava)
+
     FALCON-1442 Contract of WorkflowEngine API broken(Balu Vellanki via Ajay Yadava)
 
     FALCON-1460 Move getHiveCredentials method to ClusterHelper(Ajay Yadava via Sowmya Ramesh)

http://git-wip-us.apache.org/repos/asf/falcon/blob/39316936/common/src/main/java/org/apache/falcon/workflow/engine/AbstractWorkflowEngine.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/falcon/workflow/engine/AbstractWorkflowEngine.java
b/common/src/main/java/org/apache/falcon/workflow/engine/AbstractWorkflowEngine.java
index 78af6b2..0b560bb 100644
--- a/common/src/main/java/org/apache/falcon/workflow/engine/AbstractWorkflowEngine.java
+++ b/common/src/main/java/org/apache/falcon/workflow/engine/AbstractWorkflowEngine.java
@@ -28,6 +28,7 @@ import org.apache.falcon.resource.InstancesSummaryResult;
 import java.util.Date;
 import java.util.HashSet;
 import java.util.List;
+import java.util.Map;
 import java.util.Properties;
 import java.util.Set;
 

http://git-wip-us.apache.org/repos/asf/falcon/blob/39316936/webapp/src/test/java/org/apache/falcon/validation/ClusterEntityValidationIT.java
----------------------------------------------------------------------
diff --git a/webapp/src/test/java/org/apache/falcon/validation/ClusterEntityValidationIT.java
b/webapp/src/test/java/org/apache/falcon/validation/ClusterEntityValidationIT.java
index cc6615b..8e0bf6d 100644
--- a/webapp/src/test/java/org/apache/falcon/validation/ClusterEntityValidationIT.java
+++ b/webapp/src/test/java/org/apache/falcon/validation/ClusterEntityValidationIT.java
@@ -111,7 +111,7 @@ public class ClusterEntityValidationIT {
         };
     }
 
-    @Test (dataProvider = "interfaceToInvalidURLs", enabled = false)
+    @Test (dataProvider = "interfaceToInvalidURLs")
     public void testClusterEntityWithInvalidInterfaces(Interfacetype interfacetype, String
endpoint)
         throws Exception {
         overlay = context.getUniqueOverlay();
@@ -126,8 +126,10 @@ public class ClusterEntityValidationIT {
 
         File tmpFile = TestContext.getTempFile();
         EntityType.CLUSTER.getMarshaller().marshal(clusterEntity, tmpFile);
+        System.out.println("Starting Interface type " + interfacetype + "Endpoint " + endpoint);
         ClientResponse response = context.submitFileToFalcon(EntityType.CLUSTER, tmpFile.getAbsolutePath());
         context.assertFailure(response);
+        System.out.println("Completed Interface type " + interfacetype + "Endpoint " + endpoint);
     }
 
     @Test


Mime
View raw message