summaryrefslogtreecommitdiff
path: root/static_pool_test.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-10-01 19:05:30 +0300
committerWolfy-J <[email protected]>2018-10-01 19:05:30 +0300
commitec7b916f2162110430122b5bab0b718de9b4b5b0 (patch)
treeff9c79382013c95fbd8caa16add8809a4edf7d6f /static_pool_test.go
parenta14a6cd6c2fa4fdcdb8b3343d6f3ef537c10b4e0 (diff)
golint
Diffstat (limited to 'static_pool_test.go')
-rw-r--r--static_pool_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/static_pool_test.go b/static_pool_test.go
index 1e4906a5..a78fcf11 100644
--- a/static_pool_test.go
+++ b/static_pool_test.go
@@ -252,7 +252,7 @@ func Test_StaticPool_Replace_Worker(t *testing.T) {
var lastPID string
lastPID = strconv.Itoa(*p.Workers()[0].Pid)
- res, err := p.Exec(&Payload{Body: []byte("hello")})
+ res, _ := p.Exec(&Payload{Body: []byte("hello")})
assert.Equal(t, lastPID, string(res.Body))
for i := 0; i < 10; i++ {
@@ -287,7 +287,7 @@ func Test_StaticPool_Stop_Worker(t *testing.T) {
var lastPID string
lastPID = strconv.Itoa(*p.Workers()[0].Pid)
- res, err := p.Exec(&Payload{Body: []byte("hello")})
+ res, _ := p.Exec(&Payload{Body: []byte("hello")})
assert.Equal(t, lastPID, string(res.Body))
for i := 0; i < 10; i++ {