You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by gr...@apache.org on 2014/12/10 01:54:25 UTC
[09/15] incubator-usergrid git commit: Updated delete to include 404
responses as valid
Updated delete to include 404 responses as valid
Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/38871cc1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/38871cc1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/38871cc1
Branch: refs/heads/two-dot-o
Commit: 38871cc1bf1ed976feb69b499a8d89cc4693817b
Parents: 9ad779e
Author: Todd Nine <tn...@apigee.com>
Authored: Thu Dec 4 16:22:50 2014 -0700
Committer: Todd Nine <tn...@apigee.com>
Committed: Thu Dec 4 16:22:50 2014 -0700
----------------------------------------------------------------------
.../main/scala/org/apache/usergrid/scenarios/UserScenarios.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/38871cc1/stack/loadtests/src/main/scala/org/apache/usergrid/scenarios/UserScenarios.scala
----------------------------------------------------------------------
diff --git a/stack/loadtests/src/main/scala/org/apache/usergrid/scenarios/UserScenarios.scala b/stack/loadtests/src/main/scala/org/apache/usergrid/scenarios/UserScenarios.scala
index 2cfdef2..c589365 100755
--- a/stack/loadtests/src/main/scala/org/apache/usergrid/scenarios/UserScenarios.scala
+++ b/stack/loadtests/src/main/scala/org/apache/usergrid/scenarios/UserScenarios.scala
@@ -103,7 +103,7 @@ object UserScenarios {
http("DELETE geolocated Users")
.delete("/users/${username}")
.headers(Headers.jsonAuthorized)
- .check(status.is(200))
+ .check(status.in(Seq(200,404)))
)
val deleteUserIfExists =