From a07795b4a24d1b5f069c74d23a8603803a892940 Mon Sep 17 00:00:00 2001 From: Lars Lehtonen Date: Mon, 14 Feb 2022 22:11:45 -0800 Subject: [PATCH] scheduler: fix dropped test error --- scheduler/spread_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/scheduler/spread_test.go b/scheduler/spread_test.go index 75de56699..bf9059ecb 100644 --- a/scheduler/spread_test.go +++ b/scheduler/spread_test.go @@ -880,6 +880,7 @@ func TestSpreadPanicDowngrade(t *testing.T) { allocs = append(allocs, alloc) } err = h.State.UpsertAllocs(structs.MsgTypeTestSetup, h.NextIndex(), allocs) + require.NoError(t, err) // job version 2 // max_parallel = 0, canary = 1, spread == nil