Add repeated test for utls roundtripper

This commit is contained in:
Shelikhoo 2022-02-09 15:38:27 +00:00
parent 006abdead4
commit 4447860661
No known key found for this signature in database
GPG key ID: C4D5E79D22B25316

View file

@ -129,6 +129,7 @@ func TestRoundTripper(t *testing.T) {
InsecureSkipVerify: true, InsecureSkipVerify: true,
}, http.DefaultTransport) }, http.DefaultTransport)
for count := 0; count <= 10; count++ {
Convey("HTTP 1.1 Test", t, func(c C) { Convey("HTTP 1.1 Test", t, func(c C) {
{ {
req, err := http.NewRequest("GET", "https://127.0.0.1:23801/", nil) req, err := http.NewRequest("GET", "https://127.0.0.1:23801/", nil)
@ -146,6 +147,7 @@ func TestRoundTripper(t *testing.T) {
So(err, ShouldBeNil) So(err, ShouldBeNil)
} }
}) })
}
}) })
} }