Skip to content

Commit 1354585

Browse files
committed
fix(RELEASE-2646): fix empty pids array
Access to empty `pids` cannot be done via "${#pids[@]}" as that's causing `unbound variable` error. Instead it has to be access as "${#pids[@]:-0}" Assited-By: claude Signed-off-by: Jindrich Luza <jluza@redhat.com>
1 parent f1299a1 commit 1354585

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

integration-tests/pipelines/e2e-tests-periodic-pipeline.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ spec:
181181
182182
# Cap parallel suites to limit kubectl/API and memory spikes (step memory: 6Gi).
183183
MAX_PARALLEL="$(params.MAX_PARALLEL)"
184-
declare -A pids
184+
declare -A pids=()
185185
testcase_index=0
186186
187187
reap_finished_test_jobs() {

0 commit comments

Comments
 (0)