mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-28 09:33:06 +00:00
test: lower prepare unit-fast batch target
This commit is contained in:
@@ -1431,7 +1431,13 @@ prepare_gates() {
|
||||
if [ "$docs_only" = "true" ]; then
|
||||
echo "Docs-only change detected with high confidence; skipping pnpm test."
|
||||
else
|
||||
run_quiet_logged "pnpm test" ".local/gates-test.log" pnpm test
|
||||
local prepare_unit_fast_batch_target_ms
|
||||
prepare_unit_fast_batch_target_ms="${OPENCLAW_PREPARE_TEST_UNIT_FAST_BATCH_TARGET_MS:-5000}"
|
||||
echo "Running pnpm test with OPENCLAW_TEST_UNIT_FAST_BATCH_TARGET_MS=$prepare_unit_fast_batch_target_ms for shorter-lived unit-fast workers."
|
||||
run_quiet_logged \
|
||||
"pnpm test" \
|
||||
".local/gates-test.log" \
|
||||
env OPENCLAW_TEST_UNIT_FAST_BATCH_TARGET_MS="$prepare_unit_fast_batch_target_ms" pnpm test
|
||||
fi
|
||||
|
||||
cat > .local/gates.env <<EOF_ENV
|
||||
|
||||
Reference in New Issue
Block a user