falcon-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rostafiyc...@apache.org
Subject falcon git commit: FALCON-1176 Fixing EntitiesPatternSearchTest failing as a result of FALCON-1158. Contributed by Pragya Mittal
Date Wed, 29 Apr 2015 13:08:23 GMT
Repository: falcon
Updated Branches:
  refs/heads/master c1b44232f -> a421c888f


FALCON-1176 Fixing EntitiesPatternSearchTest failing as a result of FALCON-1158. Contributed
by Pragya Mittal


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

Branch: refs/heads/master
Commit: a421c888f5e49bba286222848b6062fd356f4e07
Parents: c1b4423
Author: Ruslan Ostafiychuk <rostafiychuk@apache.org>
Authored: Wed Apr 29 16:07:27 2015 +0300
Committer: Ruslan Ostafiychuk <rostafiychuk@apache.org>
Committed: Wed Apr 29 16:07:27 2015 +0300

----------------------------------------------------------------------
 falcon-regression/CHANGES.txt                                    | 3 +++
 .../falcon/regression/entity/EntitiesPatternSearchTest.java      | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/falcon/blob/a421c888/falcon-regression/CHANGES.txt
----------------------------------------------------------------------
diff --git a/falcon-regression/CHANGES.txt b/falcon-regression/CHANGES.txt
index 951af84..c81f25d 100644
--- a/falcon-regression/CHANGES.txt
+++ b/falcon-regression/CHANGES.txt
@@ -305,6 +305,9 @@ Trunk (Unreleased)
    FALCON-681 delete duplicate feed retention test from falcon regression (SamarthG)
 
   BUG FIXES
+   FALCON-1176 Fixing EntitiesPatternSearchTest failing as a result of FALCON-1158 (Pragya
Mittal
+   via Ruslan Ostafiychuk)
+
    FALCON-1177 Changing method modifier to make it be not concerned as a test (Paul Isaychuk
via
    Ruslan Ostafiychuk)
 

http://git-wip-us.apache.org/repos/asf/falcon/blob/a421c888/falcon-regression/merlin/src/test/java/org/apache/falcon/regression/entity/EntitiesPatternSearchTest.java
----------------------------------------------------------------------
diff --git a/falcon-regression/merlin/src/test/java/org/apache/falcon/regression/entity/EntitiesPatternSearchTest.java
b/falcon-regression/merlin/src/test/java/org/apache/falcon/regression/entity/EntitiesPatternSearchTest.java
index f58b0f6..7387e2b 100644
--- a/falcon-regression/merlin/src/test/java/org/apache/falcon/regression/entity/EntitiesPatternSearchTest.java
+++ b/falcon-regression/merlin/src/test/java/org/apache/falcon/regression/entity/EntitiesPatternSearchTest.java
@@ -97,7 +97,7 @@ public class EntitiesPatternSearchTest extends BaseTestClass {
     public void listEntitiesWithPattern(AbstractEntityHelper helper, String patternParam)
         throws AuthenticationException, IOException, URISyntaxException, InterruptedException
{
         EntityElement[] entities =
-                helper.listAllEntities("pattern=" + patternParam, null).getEntityList().getElements();
+                helper.listAllEntities("nameseq=" + patternParam, null).getEntityList().getElements();
         LOGGER.info(helper.getEntityType() + " entities: " + Arrays.toString(entities));
         validateOutputPatternList(helper.listEntities().getEntityList().getElements(), entities,
patternParam);
     }
@@ -110,7 +110,7 @@ public class EntitiesPatternSearchTest extends BaseTestClass {
         throws AuthenticationException, IOException, URISyntaxException, InterruptedException
{
         mismatchPatternParam = mismatchPatternParam.replaceAll(" ", "%20");
         EntityElement[] entities =
-                helper.listAllEntities("pattern=" + mismatchPatternParam, null).getEntityList().getElements();
+                helper.listAllEntities("nameseq=" + mismatchPatternParam, null).getEntityList().getElements();
         LOGGER.info(helper.getEntityType() + " entities: " + Arrays.toString(entities));
         Assert.assertNull(entities, "No pattern matches");
     }


Mime
View raw message