aboutsummaryrefslogtreecommitdiff
path: root/fs_test.go
diff options
context:
space:
mode:
authorGravatar Aliaksandr Valialkin <valyala@gmail.com> 2016-02-21 13:34:55 +0200
committerGravatar Aliaksandr Valialkin <valyala@gmail.com> 2016-02-21 13:34:55 +0200
commit21a70cc5b896808ce7626f0ac319909ce7273f7d (patch)
treecfb53b17b2448baf3caddee2c60c53d2a244aa1c /fs_test.go
parentAdded RequestURI helper to Request (diff)
downloadfasthttp-21a70cc5b896808ce7626f0ac319909ce7273f7d.tar.gz
fasthttp-21a70cc5b896808ce7626f0ac319909ce7273f7d.tar.bz2
fasthttp-21a70cc5b896808ce7626f0ac319909ce7273f7d.zip
reduced the time required to run tests with race detector enabled
Diffstat (limited to 'fs_test.go')
-rw-r--r--fs_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs_test.go b/fs_test.go
index 27ea0cc..5ec1d9c 100644
--- a/fs_test.go
+++ b/fs_test.go
@@ -326,7 +326,7 @@ func TestFSCompressConcurrent(t *testing.T) {
ch := make(chan struct{}, concurrency)
for i := 0; i < concurrency; i++ {
go func() {
- for j := 0; j < 10; j++ {
+ for j := 0; j < 5; j++ {
testFSCompress(t, h, "/fs.go")
testFSCompress(t, h, "/")
testFSCompress(t, h, "/README.md")