Deleting instances after partition policy recovers them.

This commit is contained in:
Renan DelValle 2019-02-15 14:02:21 -08:00
parent 0cf9d2aa2f
commit b0ebdd07a0
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9

View file

@ -737,10 +737,8 @@ func TestRealisClient_PartitionPolicy(t *testing.T) {
if ok, mErr = monitor.JobUpdate(*result.GetKey(), 5, 180); !ok || mErr != nil {
// Update may already be in a terminal state so don't check for error
_, err := r.AbortJobUpdate(*result.GetKey(), "Monitor timed out.")
_, err = r.KillJob(job.JobKey())
assert.NoError(t, err)
}
_, err = r.KillJob(job.JobKey())
}