From e00da62af3993fe288115b935a0a382382f9c987 Mon Sep 17 00:00:00 2001 From: Michael Burman Date: Fri, 1 Sep 2023 13:15:40 +0300 Subject: [PATCH] Fix config_change --- tests/config_change/config_change_suite_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/config_change/config_change_suite_test.go b/tests/config_change/config_change_suite_test.go index 43945739..d1f0ed3e 100644 --- a/tests/config_change/config_change_suite_test.go +++ b/tests/config_change/config_change_suite_test.go @@ -84,7 +84,7 @@ var _ = Describe(testName, func() { ns.WaitForDatacenterCondition(dcName, "Updating", string(corev1.ConditionFalse)) step = "checking that the init container got the updated config roles_validity=256000ms" - json = "jsonpath={.spec.initContainers[1].env[7].value}" + json = "jsonpath={.spec.initContainers[1].env[6].value}" k = kubectl.Get(fmt.Sprintf("pod/%s-%s-r1-sts-0", clusterName, dcName)). FormatOutput(json) ns.WaitForOutputContainsAndLog(step, k, "\"roles_validity\":\"256000ms\"", 30)