diff options
author | Valery Piashchynski <[email protected]> | 2020-02-28 16:10:22 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-02-28 16:10:22 +0300 |
commit | 45706f255f1be648ff59ded66b9d86872b9a6930 (patch) | |
tree | c0e0cb75249d7459e908aee8ef5a91fbb778acb5 /service/limit | |
parent | e5c9caef71beb46b82dee4e2c2d8d24f93249c46 (diff) |
Move c.Stop() to the end of the test
Diffstat (limited to 'service/limit')
-rw-r--r-- | service/limit/service_test.go | 2 |
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) |