From 1e2d807718d801a135b3243780199533aa7c529c Mon Sep 17 00:00:00 2001 From: John Mears Date: Mon, 18 Dec 2023 10:28:26 -0700 Subject: [PATCH] Fix unit test TestConvertTaskState --- internal/redfishwrapper/task_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/redfishwrapper/task_test.go b/internal/redfishwrapper/task_test.go index 43aa5d26..d34077a7 100644 --- a/internal/redfishwrapper/task_test.go +++ b/internal/redfishwrapper/task_test.go @@ -21,10 +21,10 @@ func TestConvertTaskState(t *testing.T) { {"starting state", "starting", constants.Initializing}, {"downloading state", "downloading", constants.Initializing}, {"downloaded state", "downloaded", constants.Initializing}, + {"scheduling state", "scheduling", constants.Initializing}, {"running state", "running", constants.Running}, {"stopping state", "stopping", constants.Running}, {"cancelling state", "cancelling", constants.Running}, - {"scheduling state", "scheduling", constants.Running}, {"pending state", "pending", constants.Queued}, {"new state", "new", constants.Queued}, {"scheduled state", "scheduled", constants.PowerCycleHost},