Deleting instances after partition policy recovers them.
This commit is contained in:
parent
0cf9d2aa2f
commit
b0ebdd07a0
1 changed files with 1 additions and 3 deletions
|
@ -737,10 +737,8 @@ func TestRealisClient_PartitionPolicy(t *testing.T) {
|
||||||
if ok, mErr = monitor.JobUpdate(*result.GetKey(), 5, 180); !ok || mErr != nil {
|
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
|
// Update may already be in a terminal state so don't check for error
|
||||||
_, err := r.AbortJobUpdate(*result.GetKey(), "Monitor timed out.")
|
_, err := r.AbortJobUpdate(*result.GetKey(), "Monitor timed out.")
|
||||||
|
|
||||||
_, err = r.KillJob(job.JobKey())
|
|
||||||
|
|
||||||
assert.NoError(t, err)
|
assert.NoError(t, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_, err = r.KillJob(job.JobKey())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue