Update e2e/deployment/deployment.go

Co-Authored-By: Mahmood Ali <mahmood@notnoop.com>
This commit is contained in:
Lang Martin 2019-05-21 16:46:11 -04:00 committed by Lang Martin
parent 7929ef28c7
commit e027b9001b
1 changed files with 1 additions and 0 deletions

View File

@ -73,6 +73,7 @@ func (tc *DeploymentTest) AfterEach(f *framework.F) {
for _, id := range tc.jobIds {
jobs.Deregister(id, true, nil)
}
tc.jobIds = []string{}
// Garbage collect
nomadClient.System().GarbageCollect()
}