summaryrefslogtreecommitdiff
path: root/service/limit
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-02-28 16:10:22 +0300
committerValery Piashchynski <[email protected]>2020-02-28 16:10:22 +0300
commit45706f255f1be648ff59ded66b9d86872b9a6930 (patch)
treec0e0cb75249d7459e908aee8ef5a91fbb778acb5 /service/limit
parente5c9caef71beb46b82dee4e2c2d8d24f93249c46 (diff)
Move c.Stop() to the end of the test
Diffstat (limited to 'service/limit')
-rw-r--r--service/limit/service_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/limit/service_test.go b/service/limit/service_test.go
index 6285f213..abc03e69 100644
--- a/service/limit/service_test.go
+++ b/service/limit/service_test.go
@@ -376,8 +376,8 @@ func Test_Service_Listener_MaxMemoryUsage(t *testing.T) {
c.Stop()
t.Errorf("error during sending the http request: error %v", err)
}
- c.Stop()
assert.NotEqual(t, lastPID, getPID(s))
+ c.Stop()
return
default:
_, err := http.DefaultClient.Do(req)