Fixing monitor to only expect one instance since limit constraint will not allow a second one to be scheduled on the same box.
This commit is contained in:
parent
3565a9f233
commit
ed774b6a0c
1 changed files with 1 additions and 1 deletions
|
@ -333,7 +333,7 @@ func TestRealisClient_CreateJob_Thermos(t *testing.T) {
|
|||
_, err := r.CreateJob(job)
|
||||
require.NoError(t, err)
|
||||
|
||||
success, err := monitor.Instances(job.JobKey(), 2, 1, 50)
|
||||
success, err := monitor.Instances(job.JobKey(), 1, 1, 50)
|
||||
assert.True(t, success)
|
||||
assert.NoError(t, err)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue