From 3b00083373c385ff02e912dc19aec57ecec32adb Mon Sep 17 00:00:00 2001 From: Tarun Gupta Akirala Date: Thu, 16 Jan 2025 20:20:24 -0800 Subject: [PATCH] test: assert grafana's absence Signed-off-by: Tarun Gupta Akirala --- apptests/appscenarios/kubecost_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apptests/appscenarios/kubecost_test.go b/apptests/appscenarios/kubecost_test.go index ec9fc1d65a..962446e2ca 100644 --- a/apptests/appscenarios/kubecost_test.go +++ b/apptests/appscenarios/kubecost_test.go @@ -91,7 +91,7 @@ var _ = Describe("Kubecost Tests", Label("kubecost"), func() { deploymentList = &appsv1.DeploymentList{} err = k8sClient.List(ctx, deploymentList, listOptions) Expect(err).To(BeNil()) - Expect(deploymentList.Items).To(HaveLen(4), "Expected 4 deployments to be created - cost-analyzer, grafana, prometheus server and prometheus alertmanager") + Expect(deploymentList.Items).To(HaveLen(3), "Expected 3 components to be created - cost-analyzer, prometheus server and prometheus alertmanager") Expect(err).To(BeNil()) for _, deployment := range deploymentList.Items {