From c53f0c8c1839cb124ec7d99af7c824cda6c866ba Mon Sep 17 00:00:00 2001 From: Himanshu Roy Date: Mon, 15 Apr 2024 17:33:59 +0530 Subject: [PATCH] unit tests fix Signed-off-by: Himanshu Roy --- pkg/provisioner/ironic/clients/features_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkg/provisioner/ironic/clients/features_test.go b/pkg/provisioner/ironic/clients/features_test.go index c7665d363f..517dc2ab4e 100644 --- a/pkg/provisioner/ironic/clients/features_test.go +++ b/pkg/provisioner/ironic/clients/features_test.go @@ -6,7 +6,7 @@ import ( ) func TestAvailableFeatures_ChooseMicroversion(t *testing.T) { - microVersion := "1.86" + microVersion := "1.89" type fields struct { MaxVersion int } @@ -16,21 +16,21 @@ func TestAvailableFeatures_ChooseMicroversion(t *testing.T) { want string }{ { - name: fmt.Sprintf("MaxVersion < %d return microversion %s", 86, baseline), + name: fmt.Sprintf("MaxVersion < %d return microversion %s", 89, baseline), feature: fields{ MaxVersion: 50, }, want: baseline, }, { - name: fmt.Sprintf("MaxVersion = %d return %s", 86, microVersion), + name: fmt.Sprintf("MaxVersion = %d return %s", 89, microVersion), feature: fields{ - MaxVersion: 86, + MaxVersion: 89, }, want: microVersion, }, { - name: fmt.Sprintf("MaxVersion > %d return %s", 86, microVersion), + name: fmt.Sprintf("MaxVersion > %d return %s", 89, microVersion), feature: fields{ MaxVersion: 100, },