Reviewers: mp+220014_code.launchpad.net, Message: Please take a look. Description: worker/instancepoller: TestBatching less race-y The existing TestBatching test was very prone to failure due to the nature of the test. The test ensures that requests to Instances are batched using a token bucket. Whereas the existing test streamed requests, the new implementation compresses the addition of requests into the point where we service an Instances call. We can thus reliably determine the number of batches that will be made, as calls to Instances must complete before additional requests are gathered. Fixes lp:1319652 https://code.launchpad.net/~axwalk/juju-core/lp1319652-instancepoller-testbatching/+merge/220014 (do not edit description out of merge proposal) Please review this at https://codereview.appspot.com/96440043/ Affected files (+48, -24 lines): A [revision details] M worker/instancepoller/aggregate_test.go 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: tarmac-20140519073812-9ribeb9ud0q2glco +New revision: