You say that you experience this when debugging - do you see any
exceptions being thrown? One common exception I see during long
debugging sessions is "Handle 7 found" or similar. But these do not
occur on the production servers.
On 3 Feb 2010, at 02:52, Ikai L (Google) wrote:
Can you post test cases that produce non-deterministic behavior? If
this is reproducible, please create an issue with the entities and
test cases in question and let us know:
http://code.google.com/p/googleappengine/issues/
On Tue, Feb 2, 2010 at 6:48 AM, Markus Scheidgen <[email protected]
> wrote:
Hi,
I use junit to unit test my app according to the "Unit Testing With
Local Service Implementations" tutorial. Once I use owned
relationships within my data-model, the datastore sometimes behaves
unexpected. Objects and links stored in the datastore, sometimes can
not be read from the data store. The data store behaves as if those
objects or links have never been stored. In some runs everything
behaves like it ought to be, in other runs it doesn't. Especially when
I use the eclipse debug mode, the test-cases often have different
outcomes than running them without a debugger.
What troubles me the most, is the non-deterministic scheme. Sometimes
it works, sometimes it doesn't.
So far, I only had this during unit testing. When using the
development server or the cloud, everything worked out as it should.
Does anybody had experienced something similar? Any hind? Maybe there
is some common pit-fall in using the jdo data store or owned
relationships (even though I use it along the documentation and
tutorials).
Thanks,
Markus
--
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 [email protected]
.
To unsubscribe from this group, send email to [email protected]
.
For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en
.
--
Ikai Lan
Developer Programs Engineer, Google App Engine
http://googleappengine.blogspot.com | http://twitter.com/app_engine
--
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 [email protected]
.
To unsubscribe from this group, send email to [email protected]
.
For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en
.
--
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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.