Small test failure

David Cheney david.cheney at canonical.com
Mon Nov 26 09:35:25 UTC 2012


Thanks Rog

On 26/11/12 20:33, roger peppe wrote:
> This is a consequence of a change of the error message in
> the Go tip (CL https://codereview.appspot.com/6776043/).
> I guess we shouldn't be relying on error messages
> that APIs are returning.
>
> I'll propose a fix.
>
> On 26 November 2012 02:27, David Cheney <david.cheney at canonical.com> wrote:
>> FAIL: bootstrap_test.go:156: bootstrapSuite.TestBootstrapWithInvalidCert
>>
>> test 0
>> test 1
>> test 2
>> test 3
>> test 4
>> bootstrap_test.go:162:
>>      c.Assert(err, ErrorMatches, test.err)
>> ... error string = "bad CA PEM: crypto/tls: failed to parse private key"
>> ... regex string = "bad CA PEM: crypto/tls: failed to parse key: .*"
>>
>> OOPS: 17 passed, 1 FAILED
>> --- FAIL: Test (8.88 seconds)
>> FAIL
>> FAIL    launchpad.net/juju-core/juju    8.913s
>>
>>
>> ^ is anyone fixing this? Looks trivial
>>
>> --
>> 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