From c5c0de95b64cd46d90bae0e1c84c3d4c93ae918f Mon Sep 17 00:00:00 2001 From: vivekr-splunk Date: Wed, 17 Jan 2024 13:30:19 -0800 Subject: [PATCH] fixed test case --- pkg/splunk/enterprise/licensemanager_test.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkg/splunk/enterprise/licensemanager_test.go b/pkg/splunk/enterprise/licensemanager_test.go index 33992e144..84e61661e 100644 --- a/pkg/splunk/enterprise/licensemanager_test.go +++ b/pkg/splunk/enterprise/licensemanager_test.go @@ -1033,6 +1033,13 @@ func TestLicenseManagerWithReadyState(t *testing.T) { debug.PrintStack() } + // call reconciliation + _, err = ApplyLicenseManager(ctx, c, licensemanager) + if err != nil { + t.Errorf("Unexpected error while running reconciliation for cluster manager with app framework %v", err) + debug.PrintStack() + } + licenseObjRef := corev1.ObjectReference{ Kind: licensemanager.Kind, Name: licensemanager.Name,