I think I might be encountering the same problem. When I run each of the tests individually they pass, but running as part of a test suite, all tests that use Task Queue except the first one fails.
I'm using Deferrable tasks (described here http://turbomanage.wordpress.com/2009/11/20/deferred-defer-is-a-thing-of-beauty/), and the first time the code in the second tests tries to add a task to the queue I get a TransactionalTaskException, which contains a DatastoreFailureException with the message "handle 1 not found"; My test cases extend this class shown at http://pastebin.com/bhuf9FdQ. Perhaps I'm setting up the Local...TestConfig's incorrectly. Brendan On Aug 10, 4:22 am, Jorg <jorg.ja...@accorto.com> wrote: > In the test environment, I have a stability problem with the local > data store. > When running the tests individually, they are ok, but running them in > a test suite results in the error below for many of the tests. > I read that the request come too fast, so I built in sleep(1000) > between the tests, but that didnotmake a difference. Any > suggestions? > > The error I get: > > com.google.appengine.api.datastore.DatastoreFailureException:handle3notfound > at > com.google.appengine.api.datastore.DatastoreApiHelper.translateError(Datast > oreApiHelper.java: > 51) > at > com.google.appengine.api.datastore.DatastoreApiHelper.makeSyncCall(Datastor > eApiHelper.java: > 67) > at com.google.appengine.api.datastore.DatastoreServiceImpl > $2.run(DatastoreServiceImpl.java:188) > at > com.google.appengine.api.datastore.TransactionRunner.runInTransaction(Trans > actionRunner.java: > 30) > at > com.google.appengine.api.datastore.DatastoreServiceImpl.put(DatastoreServic > eImpl.java: > 176) > at > com.google.appengine.api.datastore.DatastoreServiceImpl.put(DatastoreServic > eImpl.java: > 156) > at > com.google.appengine.api.datastore.DatastoreServiceImpl.put(DatastoreServic > eImpl.java: > 148) > at com.accorto.gae.GaeDatastore.save(GaeDatastore.java:471) -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.