Skip to content

Commit

Permalink
Merge pull request #11129 from vimalk78/integration-fixes
Browse files Browse the repository at this point in the history
integration : fix TestTLSClientCipherSuitesMismatch in go1.13
  • Loading branch information
gyuho authored Sep 6, 2019
2 parents 130cf96 + 2648a36 commit 64b3e59
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions integration/v3_tls_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ func testTLSCipherSuites(t *testing.T, valid bool) {
if err != nil {
t.Fatal(err)
}
// go1.13 enables TLS13 by default, and in TLS13, cipher suites are not configurable
// setting Max TLS version to TLS12 for go1.13
cc.MaxVersion = tls.VersionTLS12
cli, cerr := clientv3.New(clientv3.Config{
Endpoints: []string{clus.Members[0].GRPCAddr()},
DialTimeout: time.Second,
Expand Down

0 comments on commit 64b3e59

Please sign in to comment.