coreos/etcd — pull request #1144 by bcwaldon (2014-09-23 20:50:54+00:00)
Title: Simplify TLS testing in transport pkg

We learned in fleet [0] that the x509 parsing is extremely slow. Faking this function out saves a lot of test time and helps test the actual codepaths we care about rather than some library we have not read through.

[0] https://github.com/coreos/fleet/blob/master/etcd/client.go#L364