Issue Type: Bug Bug
Affects Versions: 0.9.0
Assignee: Unassigned
Components: SimplePush-server
Created: 25/Oct/13 8:52 AM
Description:

Accessing a remote database (e.g. Cloudant), a few times (well, very few times), I have seen the below exception:

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.jboss.aerogear.simplepush.server.datastore.CouchDBDataStoreTest
Tests run: 17, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 6.906 sec <<< FAILURE!
removeAcknowledged(org.jboss.aerogear.simplepush.server.datastore.CouchDBDataStoreTest)  Time elapsed: 0.586 sec  <<< ERROR!
java.util.ConcurrentModificationException: null
	at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:819)
	at java.util.ArrayList$Itr.next(ArrayList.java:791)
	at org.jboss.aerogear.simplepush.server.datastore.CouchDBDataStore.removeAcknowledged(CouchDBDataStore.java:228)
	at org.jboss.aerogear.simplepush.server.datastore.CouchDBDataStoreTest.removeAcknowledged(CouchDBDataStoreTest.java:193)
 
 
Results :
 
Tests in error: 
  CouchDBDataStoreTest.removeAcknowledged:193 ยป ConcurrentModification
 
Tests run: 17, Failures: 0, Errors: 1, Skipped: 0
Project: AeroGear Push
Priority: Minor Minor
Reporter: Matthias Wessendorf
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira