Skip to content

Commit

Permalink
Fix tls min version in tests with go 1.22
Browse files Browse the repository at this point in the history
As part of 1.22 minimum tls version by default is now 1.2, but the test
didn't specify lower one, even though they are testing exactly that.
  • Loading branch information
mstoykov committed Jul 24, 2024
1 parent 00dafad commit d805563
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/modules/k6/http/request_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2115,6 +2115,7 @@ func TestRequestAndBatchTLS(t *testing.T) {
default:
panic(versionTest.Name + " unsupported")
}
s.TLS.MinVersion = tls.VersionTLS10
go func() {
_ = s.Config.Serve(s.Listener)
}()
Expand Down

0 comments on commit d805563

Please sign in to comment.