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 a5e3e8e818
commit a234550d6f

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()
}