From fe6351be45a4a1a53d80e717f710d5466afec1c8 Mon Sep 17 00:00:00 2001 From: Jorge Turrado Date: Mon, 31 Jul 2023 13:11:38 +0200 Subject: [PATCH] fix(solr e2e): remove '-' from status command Signed-off-by: Jorge Turrado --- tests/scalers/solr/solr_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/scalers/solr/solr_test.go b/tests/scalers/solr/solr_test.go index f6195bd4a62..1dd6f60c7e7 100644 --- a/tests/scalers/solr/solr_test.go +++ b/tests/scalers/solr/solr_test.go @@ -227,7 +227,7 @@ func checkIfSolrStatusIsReady(t *testing.T, name string) error { time.Sleep(time.Second * 10) for i := 0; i < 60; i++ { - out, errOut, _ := ExecCommandOnSpecificPod(t, name, testNamespace, fmt.Sprintf("%s status –", solrPath)) + out, errOut, _ := ExecCommandOnSpecificPod(t, name, testNamespace, fmt.Sprintf("%s status", solrPath)) t.Logf("Output: %s, Error: %s", out, errOut) if !strings.Contains(out, "running on port") { time.Sleep(time.Second * 10)