Skip to content

Commit

Permalink
sarama: remove deprecated tls options from test
Browse files Browse the repository at this point in the history
  • Loading branch information
alrs committed Jul 26, 2020
1 parent 4bc9b8f commit aef8911
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions client_tls_test.go
Expand Up @@ -171,9 +171,6 @@ func TestTLS(t *testing.T) {
}

func doListenerTLSTest(t *testing.T, expectSuccess bool, serverConfig, clientConfig *tls.Config) {
serverConfig.BuildNameToCertificate()
clientConfig.BuildNameToCertificate()

seedListener, err := tls.Listen("tcp", "127.0.0.1:0", serverConfig)
if err != nil {
t.Fatal("cannot open listener", err)
Expand Down

0 comments on commit aef8911

Please sign in to comment.