diff --git a/go/vt/topo/etcd2topo/server_test.go b/go/vt/topo/etcd2topo/server_test.go index 7e2a0784b96..ffe72c4b13f 100644 --- a/go/vt/topo/etcd2topo/server_test.go +++ b/go/vt/topo/etcd2topo/server_test.go @@ -141,6 +141,9 @@ func startEtcdWithTLS(t *testing.T) (string, *tlstest.ClientServerKeyPairs, func } tlsConfig, err := tlsInfo.ClientConfig() + if err != nil { + t.Fatalf("failed to get tls.Config: %v", err) + } var cli *clientv3.Client // Create client