Repository: usergrid Updated Branches: refs/heads/hotfix-20160819 ee95ff446 -> b12e236eb
Test is not thread safe using same instance of http client. Project: http://git-wip-us.apache.org/repos/asf/usergrid/repo Commit: http://git-wip-us.apache.org/repos/asf/usergrid/commit/b12e236e Tree: http://git-wip-us.apache.org/repos/asf/usergrid/tree/b12e236e Diff: http://git-wip-us.apache.org/repos/asf/usergrid/diff/b12e236e Branch: refs/heads/hotfix-20160819 Commit: b12e236eb08aac53c4b1e0be3a2991ee8dd9e48c Parents: ee95ff4 Author: Michael Russo <[email protected]> Authored: Sat Sep 10 07:16:14 2016 -0700 Committer: Michael Russo <[email protected]> Committed: Sat Sep 10 07:16:14 2016 -0700 ---------------------------------------------------------------------- .../java/org/apache/usergrid/rest/applications/SecurityIT.java | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/usergrid/blob/b12e236e/stack/rest/src/test/java/org/apache/usergrid/rest/applications/SecurityIT.java ---------------------------------------------------------------------- diff --git a/stack/rest/src/test/java/org/apache/usergrid/rest/applications/SecurityIT.java b/stack/rest/src/test/java/org/apache/usergrid/rest/applications/SecurityIT.java index 510e245..48fbf12 100644 --- a/stack/rest/src/test/java/org/apache/usergrid/rest/applications/SecurityIT.java +++ b/stack/rest/src/test/java/org/apache/usergrid/rest/applications/SecurityIT.java @@ -17,6 +17,7 @@ package org.apache.usergrid.rest.applications; +import net.jcip.annotations.NotThreadSafe; import org.apache.usergrid.rest.test.resource.AbstractRestIT; import org.apache.usergrid.rest.test.resource.model.ApiResponse; import org.apache.usergrid.rest.test.resource.model.Entity; @@ -34,6 +35,7 @@ import static org.junit.Assert.fail; * These tests will execute requests against certain paths (with or without credentials) to ensure access is being * allowed according to the REST and Services permissions defined for the resource. */ +@NotThreadSafe public class SecurityIT extends AbstractRestIT { public SecurityIT() throws Exception {}
