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 < markus.scheid...@googlemail.com> 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 > google-appengine-j...@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com> > . > 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 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.