~themue/juju-core/053-env-more-script-friendly

« back to all changes in this revision

Viewing changes to environs/openstack/export_test.go

Merge trunk and resolve conflicts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
        "launchpad.net/juju-core/environs"
8
8
        "launchpad.net/juju-core/environs/jujutest"
9
9
        "launchpad.net/juju-core/state"
10
 
        "launchpad.net/juju-core/trivial"
 
10
        "launchpad.net/juju-core/utils"
11
11
        "net/http"
12
12
        "time"
13
13
)
61
61
// and this reduces the test time from 30s to 3s.
62
62
func ShortTimeouts(short bool) {
63
63
        if short {
64
 
                shortAttempt = trivial.AttemptStrategy{
 
64
                shortAttempt = utils.AttemptStrategy{
65
65
                        Total: 100 * time.Millisecond,
66
66
                        Delay: 10 * time.Millisecond,
67
67
                }