mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
Add repeated test for utls roundtripper
This commit is contained in:
parent
006abdead4
commit
4447860661
1 changed files with 18 additions and 16 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue