Fix an error in UserResourceIT unit test

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

Branch: refs/heads/3.0.0_experimental
Commit: c172133e3d89e27fc099eb6c01ba3be8b3647654
Parents: 2110bfb
Author: Peter Johnson <[email protected]>
Authored: Thu Nov 16 21:09:14 2017 -0800
Committer: Peter Johnson <[email protected]>
Committed: Thu Nov 16 21:09:14 2017 -0800

----------------------------------------------------------------------
 .../applications/collection/users/UserResourceIT.java   | 12 ------------
 1 file changed, 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/usergrid/blob/c172133e/stack/rest/src/test/java/org/apache/usergrid/rest/applications/collection/users/UserResourceIT.java
----------------------------------------------------------------------
diff --git 
a/stack/rest/src/test/java/org/apache/usergrid/rest/applications/collection/users/UserResourceIT.java
 
b/stack/rest/src/test/java/org/apache/usergrid/rest/applications/collection/users/UserResourceIT.java
index 66276bd..1fd6b13 100644
--- 
a/stack/rest/src/test/java/org/apache/usergrid/rest/applications/collection/users/UserResourceIT.java
+++ 
b/stack/rest/src/test/java/org/apache/usergrid/rest/applications/collection/users/UserResourceIT.java
@@ -75,21 +75,9 @@ public class UserResourceIT extends AbstractRestIT {
         usersResource = this.app().collection("users");
         userResource = this.app().collection("user");
 
-        // make the queueindex direct to speed up the tests.
-        Entity payload = new Entity();
-        payload.put( "queueIndex", "direct");
-
-        //Post index to the collection metadata
-        app().collection( "user" ).collection( "_settings" ).post( payload );
-        app().collection( "users" ).collection( "_settings" ).post( payload );
-
         waitForQueueDrainAndRefreshIndex();
     }
 
-    public void waitForQueueDrainAndRefreshIndex() {
-        waitForQueueDrainAndRefreshIndex(50);
-    }
-
     @Test
     public void usernameQuery() throws IOException {
         String ql = "username = 'user*'";

Reply via email to