aboutsummaryrefslogtreecommitdiff
path: root/streaming_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 /streaming_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 'streaming_test.go')
-rw-r--r--streaming_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/streaming_test.go b/streaming_test.go
index 21a2828..6066c39 100644
--- a/streaming_test.go
+++ b/streaming_test.go
@@ -143,6 +143,8 @@ func getChunkedTestEnv(t testing.TB) (*fasthttputil.InmemoryListener, []byte) {
}
func TestRequestStream(t *testing.T) {
+ t.Parallel()
+
ln, formattedRequest := getChunkedTestEnv(t)
c, err := ln.Dial()