mirror of
https://github.com/kemko/nomad.git
synced 2026-01-05 09:55:44 +03:00
add assertion for pending
This commit is contained in:
@@ -175,9 +175,10 @@ func TestJobMigrations(t *testing.T) {
|
||||
err = jobCmd.Run()
|
||||
assert.Nil(err)
|
||||
|
||||
firstJoboutput, err := jobIsReady(20, "sleep")
|
||||
firstJobOutput, err := jobIsReady(20, "sleep")
|
||||
assert.Nil(err)
|
||||
assert.NotContains(firstJoboutput, "failed")
|
||||
assert.NotContains(firstJobOutput, "failed")
|
||||
assert.NotContains(firstJobOutput, "pending")
|
||||
|
||||
fh2, err := ioutil.TempFile("", "nomad-sleep-2")
|
||||
assert.Nil(err)
|
||||
|
||||
Reference in New Issue
Block a user