From 9194d255fba2d90cf7e18da21219ff085f423562 Mon Sep 17 00:00:00 2001 From: Tim Vaillancourt Date: Tue, 9 Jul 2024 23:15:28 +0200 Subject: [PATCH] `slack-19.0`: disable `--config-file-not-found-handling` on v15 tests Signed-off-by: Tim Vaillancourt --- examples/common/env.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/common/env.sh b/examples/common/env.sh index 51d0fcb6487..39b29de261d 100644 --- a/examples/common/env.sh +++ b/examples/common/env.sh @@ -32,7 +32,10 @@ done; # vtctldclient has a separate alias setup below for binary in vttablet vtgate vtctld mysqlctl vtorc vtctl; do - alias $binary="$binary --config-file-not-found-handling=ignore" + $binary --version | grep -q "19\.[0-9]*\.[0-9]*" + if [[ "$?" -eq "0" ]]; then + alias $binary="$binary --config-file-not-found-handling=ignore" + fi done; if [ "${TOPO}" = "zk2" ]; then