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.

Reply via email to