Re: [objectify-appengine] Re: [appengine-java] HRD - Eventual consistency

2011-11-01 Thread Aswath Satrasala
Thanks for the tips on making it work with JUNIT tests. But, I have webdriver tests that are failing. In my case, many webdriver tests give the real experience as done by the user. I am reading the pattern suggested by Jeff. But, it still leads to many application wide changes in my case. I am t

Re: [objectify-appengine] Re: [appengine-java] HRD - Eventual consistency

2011-10-31 Thread Broc Seib
In my unit tests for my entities using HRD, I simply switch that percentage completely on/off around those few places in the unit test code where I need my entity to become "fully committed" in order for the rest of the unit test to work. Yes, it is kind of contrived, but then again so is a unit te

Re: [appengine-java] HRD - Eventual consistency

2011-10-31 Thread Jeff Schnitzer
There's this: https://groups.google.com/d/msg/google-appengine/NdUAY0crVjg/3fJX3Gn3cOYJ Some thoughts: * I don't think there's really anything to save you from eventuality except careful consideration during the design of your data model. Pick your entity groups carefully and use XG transactio

[appengine-java] HRD - Eventual consistency

2011-10-31 Thread Aswath Satrasala
Hi, I am trying HRD on local dev server. I have bunch of webdriver tests for different parts of my application that create entities and then doing a list of all the entities. My tests are failing in several places. It is due to the eventual consistency of the HRD. The tests run fine on M/S and o