From ae55a1c7623a48616ff841717c96ff6fe1f1218a Mon Sep 17 00:00:00 2001 From: Danny Kopping Date: Tue, 16 Apr 2024 12:10:17 +0200 Subject: [PATCH 1/2] Applying shellcheck recommendation which was causing "make lint" to fail locally See https://www.shellcheck.net/wiki/SC2324 Signed-off-by: Danny Kopping --- scaletest/scaletest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scaletest/scaletest.sh b/scaletest/scaletest.sh index f14d8ef839214..d8e0b7b1c87e0 100755 --- a/scaletest/scaletest.sh +++ b/scaletest/scaletest.sh @@ -213,7 +213,7 @@ while ! maybedryrun "$DRY_RUN" timeout 1 bash -c "echo > /dev/tcp/localhost/6061 echo "pprof failed to become ready in time!" exit 1 fi - pprof_attempt_counter+=1 + ((pprof_attempt_counter+=1)) maybedryrun "$DRY_RUN" sleep 3 done From edf5ef07f3664db6eb7de5803c638f0dac2d2b09 Mon Sep 17 00:00:00 2001 From: Danny Kopping Date: Tue, 16 Apr 2024 12:17:18 +0200 Subject: [PATCH 2/2] make fmt Signed-off-by: Danny Kopping --- scaletest/scaletest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scaletest/scaletest.sh b/scaletest/scaletest.sh index d8e0b7b1c87e0..dd0a6cb4f450c 100755 --- a/scaletest/scaletest.sh +++ b/scaletest/scaletest.sh @@ -213,7 +213,7 @@ while ! maybedryrun "$DRY_RUN" timeout 1 bash -c "echo > /dev/tcp/localhost/6061 echo "pprof failed to become ready in time!" exit 1 fi - ((pprof_attempt_counter+=1)) + ((pprof_attempt_counter += 1)) maybedryrun "$DRY_RUN" sleep 3 done