Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(126)

Unified Diff: environs/ec2/export_test.go

Issue 6294065: environs: make AttemptStrategy public (Closed)
Patch Set: environs: make AttemptStrategy public Created 13 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « environs/ec2/ec2.go ('k') | environs/ec2/storage.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: environs/ec2/export_test.go
=== modified file 'environs/ec2/export_test.go'
--- environs/ec2/export_test.go 2012-06-07 14:06:28 +0000
+++ environs/ec2/export_test.go 2012-06-12 22:50:06 +0000
@@ -78,9 +78,9 @@
// and this reduces the test time from 30s to 3s.
func ShortTimeouts(short bool) {
if short {
- shortAttempt = attemptStrategy{
- total: 0.25e9,
- delay: 0.01e9,
+ shortAttempt = environs.AttemptStrategy{
+ Total: 0.25e9,
+ Delay: 0.01e9,
}
longAttempt = shortAttempt
} else {
« no previous file with comments | « environs/ec2/ec2.go ('k') | environs/ec2/storage.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b