adding unit tests that take a long time
Nate Finch
nate.finch at canonical.com
Wed Apr 27 17:44:05 UTC 2016
I was actually trying to avoid talking about the test itself to keep things
shorter ;)
The test is parsing the entire codebase under github.com/juju/juju to look
for places where we're creating a new value of crypto/tls.Config instead of
using the new helper function that I wrote that creates one with more
secure defaults. There's not really any getting around the fact that
parsing the whole tree takes a long time.
On Wed, Apr 27, 2016 at 1:25 PM Nicholas Skaggs <
nicholas.skaggs at canonical.com> wrote:
> This is a timely discussion Nate. I'll avoid saying too much off the
> top, but I do have a question.
>
> On 04/27/2016 12:24 PM, Nate Finch wrote:
> > I just wrote a test that takes ~16.5 seconds on my machine.
> Why does the test take so long? Are you intending it to be a short /
> small scoped test?
>
> Nicholas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju-dev/attachments/20160427/e0e462e5/attachment.html>
More information about the Juju-dev
mailing list