Reviewers: mp+194581_code.launchpad.net, Message: Please take a look. Description: Remove a race condition from sandbox deployment Deploying to the sandbox will sometimes mis-position services, especially when you have a large bundle. I believe the cause is the race condition that this branch fixes. I also simplified some code that I thought was confusing. To QA, try deploying some big bundles. At the very least, it shouldn't be worse than it was before. If we're lucky, you'll see that the position is always right for the deployed bundles in the sandbox. Contact me if you'd like some big bundles. https://code.launchpad.net/~gary/juju-gui/fixSandboxDeployRace/+merge/194581 (do not edit description out of merge proposal) Please review this at https://codereview.appspot.com/23800044/ Affected files (+40, -29 lines): [revision details] app/store/env/fakebackend.js test/test_fakebackend.js Index: [revision details] === added file '[revision details]' --- [revision details] 2012-01-01 00:00:00 +0000 +++ [revision details] 2012-01-01 00:00:00 +0000 @@ -0,0 +1,2 @@ +Old revision: