scheduler: fix dropped test error
This commit is contained in:
parent
15205b5408
commit
a07795b4a2
|
@ -880,6 +880,7 @@ func TestSpreadPanicDowngrade(t *testing.T) {
|
||||||
allocs = append(allocs, alloc)
|
allocs = append(allocs, alloc)
|
||||||
}
|
}
|
||||||
err = h.State.UpsertAllocs(structs.MsgTypeTestSetup, h.NextIndex(), allocs)
|
err = h.State.UpsertAllocs(structs.MsgTypeTestSetup, h.NextIndex(), allocs)
|
||||||
|
require.NoError(t, err)
|
||||||
|
|
||||||
// job version 2
|
// job version 2
|
||||||
// max_parallel = 0, canary = 1, spread == nil
|
// max_parallel = 0, canary = 1, spread == nil
|
||||||
|
|
Loading…
Reference in New Issue