summaryrefslogtreecommitdiff
path: root/service/http/handler_test.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-03-21 01:03:13 +0300
committerValery Piashchynski <[email protected]>2020-03-21 01:03:13 +0300
commit314b161695daae7dfa8739afb1865a3be5ff53ca (patch)
treec1342d6c7a1f9ab0f786c2a4572ac0d0e2b818df /service/http/handler_test.go
parent96e6686c5fa55e5b055fe3d7a4635e272e69c3ac (diff)
Update GHA, go1.14 vendored mode
Update Makefile, add go vendor (go 1.14 + php hack) Update usage of new json package
Diffstat (limited to 'service/http/handler_test.go')
-rw-r--r--service/http/handler_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/service/http/handler_test.go b/service/http/handler_test.go
index 994a663c..cb1cd728 100644
--- a/service/http/handler_test.go
+++ b/service/http/handler_test.go
@@ -644,7 +644,7 @@ func TestHandler_FormData_POST(t *testing.T) {
t.Errorf("error listening the interface: error %v", err)
}
}()
- time.Sleep(time.Millisecond * 10)
+ time.Sleep(time.Millisecond * 500)
form := url.Values{}
@@ -860,7 +860,7 @@ func TestHandler_FormData_PUT(t *testing.T) {
t.Errorf("error listening the interface: error %v", err)
}
}()
- time.Sleep(time.Millisecond * 10)
+ time.Sleep(time.Millisecond * 500)
form := url.Values{}
@@ -1124,7 +1124,7 @@ func TestHandler_Multipart_PUT(t *testing.T) {
t.Errorf("error listening the interface: error %v", err)
}
}()
- time.Sleep(time.Millisecond * 10)
+ time.Sleep(time.Millisecond * 500)
var mb bytes.Buffer
w := multipart.NewWriter(&mb)
@@ -1241,7 +1241,7 @@ func TestHandler_Multipart_PATCH(t *testing.T) {
t.Errorf("error listening the interface: error %v", err)
}
}()
- time.Sleep(time.Millisecond * 10)
+ time.Sleep(time.Millisecond * 500)
var mb bytes.Buffer
w := multipart.NewWriter(&mb)