Test times: EC2 provider

David Cheney david.cheney at canonical.com
Sun Jul 14 02:10:58 UTC 2013


If the tests aren't cpu bound try

go test -p 4 launchpad.net/juju-core/...

where 4 is the number of processes you would like to run in parallel
(defaults to runtime.NumCPU())

On Sun, Jul 14, 2013 at 5:23 AM, Jeroen Vermeulen
<jeroen.vermeulen at canonical.com> wrote:
> It takes more than 10 minutes to run the test suite on a small cloud
> machine.  The single biggest culprit is the ec2 provider at 3 minutes,
> and I find that over 80% of that is Storage making calls to goamz.
>
> Does anyone know if perhaps there's some delay in goamz that we could
> shortcut for testing?
>
> Or alternatively, we can substitute test doubles for the Storage
> implementation now — such as a localstorage, or a simple, ultra-fast
> in-process implementation.  Might buy us a few minutes cheaply.
>
>
> Jeroen
>
> --
> Juju-dev mailing list
> Juju-dev at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev



More information about the Juju-dev mailing list