pathqueryit
Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/6590c053 Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/6590c053 Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/6590c053 Branch: refs/heads/USERGRID-614 Commit: 6590c0533929c1b397afa0278a8983c8fbd0ddde Parents: 31d319b Author: Shawn Feldman <[email protected]> Authored: Thu May 7 11:21:23 2015 -0600 Committer: Shawn Feldman <[email protected]> Committed: Thu May 7 11:21:23 2015 -0600 ---------------------------------------------------------------------- .../persistence/query/IntersectionTransitivePagingIT.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/6590c053/stack/core/src/test/java/org/apache/usergrid/persistence/query/IntersectionTransitivePagingIT.java ---------------------------------------------------------------------- diff --git a/stack/core/src/test/java/org/apache/usergrid/persistence/query/IntersectionTransitivePagingIT.java b/stack/core/src/test/java/org/apache/usergrid/persistence/query/IntersectionTransitivePagingIT.java index 3b12353..4490a22 100644 --- a/stack/core/src/test/java/org/apache/usergrid/persistence/query/IntersectionTransitivePagingIT.java +++ b/stack/core/src/test/java/org/apache/usergrid/persistence/query/IntersectionTransitivePagingIT.java @@ -131,6 +131,7 @@ public class IntersectionTransitivePagingIT{ } + this.app.refreshIndex(); return expected; } @@ -159,7 +160,7 @@ public class IntersectionTransitivePagingIT{ for ( int i = 0; i < results.size(); i++, currentExpectedIndex++ ) { final UUID returnedUUID = results.getEntities().get( i ).getUuid(); - assertEquals( "Value should not be returned twice", expectedResults.get( currentExpectedIndex ), + assertEquals( "Value should not be returned twice", expectedResults.get( expectedResults.size() - 1 - currentExpectedIndex ), returnedUUID ); }
