s3's attempt strategy is very long for tests

Bug #1209480 reported by Jeroen T. Vermeulen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
goamz
New
Undecided
Unassigned

Bug Description

Most of juju-core's test suite is spent waiting for the AttemptStrategy in goamz.s3. On a fast multi-core machine, using a default (all-zero) AttemptStrategy in goamz.s3 makes the overall juju-core test suite run about 3 times faster, and the EC2 provider tests by themselves over 100 times faster.

It would be nice if clients of goamz had access to a capability along the lines of SetAttemptStrategy for their tests. Not necessarily *exactly* that though -- I'm not trying to dictate solutions here, just describing the problem. :-)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.