scheduler: fix dropped test error

This commit is contained in:
Lars Lehtonen 2022-02-14 22:11:45 -08:00
parent 15205b5408
commit a07795b4a2
No known key found for this signature in database
GPG Key ID: 8137D474EBCB04F2
1 changed files with 1 additions and 0 deletions

View File

@ -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