From 58f7adbdd129ffb6fe69eb189c119745f4ee408d Mon Sep 17 00:00:00 2001 From: Elena German Date: Mon, 30 Sep 2024 21:18:49 +0300 Subject: [PATCH] vcore: reduce template specs number for lokistack (#237) --- .../vcore/internal/vcorecommon/loki-operator.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/system-tests/vcore/internal/vcorecommon/loki-operator.go b/tests/system-tests/vcore/internal/vcorecommon/loki-operator.go index 62719e820..973eedb69 100644 --- a/tests/system-tests/vcore/internal/vcorecommon/loki-operator.go +++ b/tests/system-tests/vcore/internal/vcorecommon/loki-operator.go @@ -253,13 +253,11 @@ func CreateLokiStackInstance(ctx SpecContext) { } template := lokiv1.LokiTemplateSpec{ - Compactor: &lokiComponent, Distributor: &lokiComponent, Querier: &lokiComponent, QueryFrontend: &lokiComponent, Gateway: &lokiComponent, IndexGateway: &lokiComponent, - Ruler: &lokiComponent, } lokiStackObj, err = lokiStackObj. @@ -279,8 +277,8 @@ func CreateLokiStackInstance(ctx SpecContext) { Expect(err).ToNot(HaveOccurred(), fmt.Sprintf("failed to create lokiStack instance %s in namespace %s due to %v", vcoreparams.LokiStackName, vcoreparams.CLONamespace, err)) - Expect(lokiStackObj.IsReady(90*time.Minute)).To(Equal(true), - fmt.Sprintf("lokiStack instance %s in namespace %s failed to reach Ready state after 90 mins", + Expect(lokiStackObj.IsReady(5*time.Minute)).To(Equal(true), + fmt.Sprintf("lokiStack instance %s in namespace %s failed to reach Ready state after 5 mins", vcoreparams.LokiStackName, vcoreparams.CLONamespace)) time.Sleep(3 * time.Minute)