fix: Correct CLI path and improve stress test exit handling
Some checks failed
Blockchain Synchronization Verification / sync-verification (push) Successful in 6s
Deploy to Testnet / deploy-testnet (push) Has started running
Deploy to Testnet / notify-deployment (push) Has been cancelled
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 7s
P2P Network Verification / p2p-verification (push) Has been cancelled
Some checks failed
Blockchain Synchronization Verification / sync-verification (push) Successful in 6s
Deploy to Testnet / deploy-testnet (push) Has started running
Deploy to Testnet / notify-deployment (push) Has been cancelled
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 7s
P2P Network Verification / p2p-verification (push) Has been cancelled
- 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
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user