aboutsummaryrefslogtreecommitdiff
path: root/http_test.go
diff options
context:
space:
mode:
authorGravatar Erik Dubbelboer <erik@dubbelboer.com> 2021-06-18 14:57:18 +0200
committerGravatar Erik Dubbelboer <erik@dubbelboer.com> 2021-06-18 14:57:18 +0200
commit9f2c63676d93a1fe1cf836f1ae125fa5fb566039 (patch)
treed7ae04044a81c18c7f250d4e93114f3008b452f4 /http_test.go
parentfix: set content-length properly when StreanRequestBody was enabled (#1049) (diff)
downloadfasthttp-9f2c63676d93a1fe1cf836f1ae125fa5fb566039.tar.gz
fasthttp-9f2c63676d93a1fe1cf836f1ae125fa5fb566039.tar.bz2
fasthttp-9f2c63676d93a1fe1cf836f1ae125fa5fb566039.zip
Lower go test time
Diffstat (limited to 'http_test.go')
-rw-r--r--http_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/http_test.go b/http_test.go
index b2f487b..0e76a10 100644
--- a/http_test.go
+++ b/http_test.go
@@ -34,6 +34,8 @@ func TestResponseEmptyTransferEncoding(t *testing.T) {
// Don't send the fragment/hash/# part of a URL to the server.
func TestFragmentInURIRequest(t *testing.T) {
+ t.Parallel()
+
var req Request
req.SetRequestURI("https://docs.gitlab.com/ee/user/project/integrations/webhooks.html#events")
@@ -48,6 +50,8 @@ func TestFragmentInURIRequest(t *testing.T) {
}
func TestIssue875(t *testing.T) {
+ t.Parallel()
+
type testcase struct {
uri string
expectedRedirect string