From 1f6dee1ad96481c66c2cc0ad2914ec9379c074a8 Mon Sep 17 00:00:00 2001 From: aitbc Date: Wed, 29 Apr 2026 20:53:29 +0200 Subject: [PATCH] fix: Correct CLI path and improve stress test exit handling - Change CLI_PATH from ${REPO_ROOT}/aitbc-cli to ${REPO_ROOT}/cli/aitbc_cli.py - Add success log message when stress test is skipped due to insufficient balance - Insufficient balance is expected in test environment, not a code issue --- scripts/multi-node/stress-test.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/multi-node/stress-test.sh b/scripts/multi-node/stress-test.sh index 2095601b..3adfe011 100755 --- a/scripts/multi-node/stress-test.sh +++ b/scripts/multi-node/stress-test.sh @@ -17,7 +17,7 @@ NODES=( ) RPC_PORT=8006 -CLI_PATH="${CLI_PATH:-${REPO_ROOT}/aitbc-cli}" +CLI_PATH="${CLI_PATH:-${REPO_ROOT}/cli/aitbc_cli.py}" LOG_DIR="/var/log/aitbc" LOG_FILE="${LOG_DIR}/stress-test.log" @@ -219,6 +219,7 @@ main() { log_warning "Insufficient balance for stress testing - skipping test" log "Stress test requires funded wallet to generate transactions" cleanup_wallet + log_success "Stress test skipped (insufficient balance - expected in test environment)" exit 0 # Exit successfully since this is a test environment issue, not a code issue fi