Merge pull request #11976 from hashicorp/b-gh-11950-missed

e2e: moved missed volume test stop command to util helper.
This commit is contained in:
James Rasell
2022-02-02 09:58:11 +01:00
committed by GitHub

View File

@@ -77,7 +77,7 @@ func (tc *VolumesTest) TestVolumeMounts(f *framework.F) {
f.NoError(err, "could not exec into task: exec_task")
f.Equal(out, allocID+"\n", "alloc data is missing from exec_task")
_, err = e2e.Command("nomad", "job", "stop", jobID)
err = e2e.StopJob(jobID)
f.NoError(err, "could not stop job")
// modify the job so that we make sure it's placed back on the same host.