usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdun...@apache.org
Subject usergrid git commit: Fix non-threadsafe test.
Date Mon, 11 Jan 2016 19:23:05 GMT
Repository: usergrid
Updated Branches:
  refs/heads/master 95fa52099 -> 7032c033f


Fix non-threadsafe test.


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

Branch: refs/heads/master
Commit: 7032c033fc6c0d4c3194ad9d7aea5c6772791fa3
Parents: 95fa520
Author: Mike Dunker <mdunker@apigee.com>
Authored: Mon Jan 11 11:22:33 2016 -0800
Committer: Mike Dunker <mdunker@apigee.com>
Committed: Mon Jan 11 11:22:33 2016 -0800

----------------------------------------------------------------------
 .../java/org/apache/usergrid/rest/management/RegistrationIT.java   | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/usergrid/blob/7032c033/stack/rest/src/test/java/org/apache/usergrid/rest/management/RegistrationIT.java
----------------------------------------------------------------------
diff --git a/stack/rest/src/test/java/org/apache/usergrid/rest/management/RegistrationIT.java
b/stack/rest/src/test/java/org/apache/usergrid/rest/management/RegistrationIT.java
index efa1536..4c0fbcc 100644
--- a/stack/rest/src/test/java/org/apache/usergrid/rest/management/RegistrationIT.java
+++ b/stack/rest/src/test/java/org/apache/usergrid/rest/management/RegistrationIT.java
@@ -17,6 +17,7 @@
 package org.apache.usergrid.rest.management;
 
 
+import net.jcip.annotations.NotThreadSafe;
 import org.apache.commons.lang.StringUtils;
 import org.apache.usergrid.persistence.model.util.UUIDGenerator;
 import org.apache.usergrid.rest.test.resource.AbstractRestIT;
@@ -42,6 +43,7 @@ import static org.apache.usergrid.management.AccountCreationProps.*;
 import static org.junit.Assert.*;
 
 
+@NotThreadSafe  // each test resets the test properties at the end of the test
 public class RegistrationIT extends AbstractRestIT {
 
     private static final Logger logger = LoggerFactory.getLogger(RegistrationIT.class);


Mime
View raw message