From 716d8f43e01124b7a3bf8ba577db6fdc54dd2434 Mon Sep 17 00:00:00 2001 From: Tom Krizek Date: Mon, 19 Jun 2023 17:05:17 +0200 Subject: [PATCH] Handle non-zero return codes in statistics test (cherry picked from commit 3a36ff506d28ec696edce59e96c97db2745ed483) --- bin/tests/system/statistics/tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/tests/system/statistics/tests.sh b/bin/tests/system/statistics/tests.sh index 1adc5b438c..1579eda67b 100644 --- a/bin/tests/system/statistics/tests.sh +++ b/bin/tests/system/statistics/tests.sh @@ -89,7 +89,7 @@ status=$((status + ret)) n=$((n + 1)) echo_i "sending queries to ns3" -$DIGCMD +tries=2 +time=1 +recurse @10.53.0.3 foo.info. any > /dev/null 2>&1 +$DIGCMD +tries=2 +time=1 +recurse @10.53.0.3 foo.info. any > /dev/null 2>&1 || true ret=0 echo_i "dumping updated stats for ns3 ($n)"