Closed GoogleCodeExporter closed 8 years ago
Likely not the place to register this problem (i.e more likely GWT, or
AppEngine libs). Nothing that can be addressed in this plugin without a
selfcontained test for just this plugin
Original comment by googleco...@yahoo.co.uk
on 27 Sep 2011 at 6:44
First, I strongly encourage you to use LocalDatastoreServiceTestConfig to
manage the behavior of the local datastore service rather than the way you're
doing it. Example here:
http://code.google.com/appengine/docs/java/tools/localunittesting.html
Second, the reason you're getting this exception is that the App Engine
environment needs to be configured per-thread. You are configuring it for the
thread that is executing your test's setUp() method but then your async
processing is running on a different thread. This thread doesn't have the App
Engine environment set up.
In order for this test to work you'll need to find a way to configure the App
Engine environment on every thread that is doing work.
Original comment by max.r...@gmail.com
on 3 Oct 2011 at 4:48
Original issue reported on code.google.com by
panason2...@gmail.com
on 28 Apr 2011 at 4:54