falcon-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rag...@apache.org
Subject git commit: FALCON-726 Expect less fields in messages in falcon-regression. Contributed by Ruslan Ostafiychuk
Date Sun, 14 Sep 2014 23:25:02 GMT
Repository: incubator-falcon
Updated Branches:
  refs/heads/master 4ed6d855e -> 66c88efda


FALCON-726 Expect less fields in messages in falcon-regression. Contributed by Ruslan Ostafiychuk


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

Branch: refs/heads/master
Commit: 66c88efda9bc57630d85d0ff169201cb263555a3
Parents: 4ed6d85
Author: Raghav Kumar Gautam <raghav@apache.org>
Authored: Sun Sep 14 16:24:56 2014 -0700
Committer: Raghav Kumar Gautam <raghav@apache.org>
Committed: Sun Sep 14 16:24:56 2014 -0700

----------------------------------------------------------------------
 falcon-regression/CHANGES.txt                                  | 3 +++
 .../java/org/apache/falcon/regression/prism/RetentionTest.java | 6 +-----
 2 files changed, 4 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/66c88efd/falcon-regression/CHANGES.txt
----------------------------------------------------------------------
diff --git a/falcon-regression/CHANGES.txt b/falcon-regression/CHANGES.txt
index c88af6d..c2488c5 100644
--- a/falcon-regression/CHANGES.txt
+++ b/falcon-regression/CHANGES.txt
@@ -9,6 +9,9 @@ Trunk (Unreleased)
    via Samarth Gupta)
 
   IMPROVEMENTS
+   FALCON-726 Expect less fields in messages in falcon-regression
+   (Ruslan Ostafiychuk)
+
    FALCON-720 Fix ProcessInstanceStatusTest as per FALCON-166
    (Raghav Kumar Gautam)
 

http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/66c88efd/falcon-regression/merlin/src/test/java/org/apache/falcon/regression/prism/RetentionTest.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin/src/test/java/org/apache/falcon/regression/prism/RetentionTest.java
b/falcon-regression/merlin/src/test/java/org/apache/falcon/regression/prism/RetentionTest.java
index d113554..c271ecf 100644
--- a/falcon-regression/merlin/src/test/java/org/apache/falcon/regression/prism/RetentionTest.java
+++ b/falcon-regression/merlin/src/test/java/org/apache/falcon/regression/prism/RetentionTest.java
@@ -234,12 +234,8 @@ public class RetentionTest extends BaseTestClass {
                 Assert.assertEquals(message.getString("workflowId"), workflowIds.get(0));
 
                 //verify other data also
-                Assert.assertEquals(message.getString("topicName"), "FALCON." + feedName);
-                Assert.assertEquals(message.getString("brokerImplClass"),
-                    "org.apache.activemq.ActiveMQConnectionFactory");
+                Assert.assertEquals(message.getJMSDestination().toString(), "topic://FALCON."
+ feedName);
                 Assert.assertEquals(message.getString("status"), "SUCCEEDED");
-                Assert.assertEquals(message.getString("brokerUrl"),
-                    cluster.getFeedHelper().getActiveMQ());
             }
         }
         Assert.assertEquals(deletedFolders.size(), missingData.size(),


Mime
View raw message