diff --git a/harness/local-ci-pipeline.sh b/harness/local-ci-pipeline.sh index 6eb6880..c231d1e 100755 --- a/harness/local-ci-pipeline.sh +++ b/harness/local-ci-pipeline.sh @@ -155,12 +155,16 @@ run_build() { run_smoke_test() { export GO_ENV="development" export MEV_BOT_ENCRYPTION_KEY="test_key_32_chars_minimum_length_required" - run_step "smoke-test" timeout 10s ./bin/mev-bot start || { - if [[ $? -eq 124 ]]; then - log "✅ Smoke test passed (timeout expected)" + run_step "smoke-test" timeout 30s ./bin/mev-bot start || { + local exit_code=$? + if [[ $exit_code -eq 124 ]]; then + log "✅ Smoke test passed (timeout expected after 30s)" + return 0 + elif [[ $exit_code -eq 0 ]]; then + log "✅ Smoke test passed" return 0 else - log "❌ Smoke test failed" + log "❌ Smoke test failed with exit code $exit_code" return 1 fi }