Repository: usergrid Updated Branches: refs/heads/master 3e7be17f9 -> d6f597ae0
Update notification tests. Project: http://git-wip-us.apache.org/repos/asf/usergrid/repo Commit: http://git-wip-us.apache.org/repos/asf/usergrid/commit/d6f597ae Tree: http://git-wip-us.apache.org/repos/asf/usergrid/tree/d6f597ae Diff: http://git-wip-us.apache.org/repos/asf/usergrid/diff/d6f597ae Branch: refs/heads/master Commit: d6f597ae0f63f38ec3a8efe86ab4ed9b33d51a59 Parents: 3e7be17 Author: Michael Russo <[email protected]> Authored: Thu Jan 7 16:26:22 2016 -0800 Committer: Michael Russo <[email protected]> Committed: Thu Jan 7 16:26:22 2016 -0800 ---------------------------------------------------------------------- .../services/notifications/gcm/NotificationsServiceIT.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/usergrid/blob/d6f597ae/stack/services/src/test/java/org/apache/usergrid/services/notifications/gcm/NotificationsServiceIT.java ---------------------------------------------------------------------- diff --git a/stack/services/src/test/java/org/apache/usergrid/services/notifications/gcm/NotificationsServiceIT.java b/stack/services/src/test/java/org/apache/usergrid/services/notifications/gcm/NotificationsServiceIT.java index 0741b5e..97513be 100644 --- a/stack/services/src/test/java/org/apache/usergrid/services/notifications/gcm/NotificationsServiceIT.java +++ b/stack/services/src/test/java/org/apache/usergrid/services/notifications/gcm/NotificationsServiceIT.java @@ -18,6 +18,7 @@ package org.apache.usergrid.services.notifications.gcm; import com.google.android.gcm.server.Constants; import com.google.android.gcm.server.InvalidRequestException; +import net.jcip.annotations.NotThreadSafe; import org.apache.usergrid.persistence.*; import org.apache.usergrid.persistence.entities.*; import org.apache.usergrid.services.notifications.*; @@ -33,6 +34,7 @@ import org.apache.usergrid.services.ServiceAction; import static org.junit.Assert.*; import static org.apache.usergrid.services.notifications.ApplicationQueueManager.NOTIFIER_ID_POSTFIX; +@NotThreadSafe public class NotificationsServiceIT extends AbstractServiceNotificationIT { @@ -491,7 +493,6 @@ public class NotificationsServiceIT extends AbstractServiceNotificationIT { // validate notification was created successfully - app.testRequest(ServiceAction.GET, 1, "notifications", e.getUuid()); Notification notification = app.getEntityManager().get(e.getUuid(), Notification.class); assertEquals( notification.getPayloads().get(notifier.getUuid().toString()),
