From 54254c06e262d0e199f2121b5a7e7fc426a77039 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 13 Jun 2026 00:01:37 +0300 Subject: Stabilize template parallelism test for em0 --- tests/cli.sh | 3 ++- tests/helpers.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/cli.sh b/tests/cli.sh index 1e66ec8..18d7967 100755 --- a/tests/cli.sh +++ b/tests/cli.sh @@ -1180,7 +1180,8 @@ test_generate_image_jobs_limits_parallel_template_rendering() { ( cd "$TEST_TMPDIR" - PATH="$fake_bin:$PATH" "$TEST_SHURIKEN" \ + PATH="$fake_bin:$PATH" TEST_TEMPLATE_SPY_SLEEP_SECONDS=1 \ + "$TEST_SHURIKEN" \ --image-jobs 2 \ --template "$template_dir" \ --generate diff --git a/tests/helpers.sh b/tests/helpers.sh index f05415d..d2d6605 100755 --- a/tests/helpers.sh +++ b/tests/helpers.sh @@ -422,7 +422,7 @@ test::write_parallel_template_spy_file() { "$active" "$template_label" "$render_photo_html" >> "$log_file" ) 9>"$lock_file" -sleep 0.1 +sleep "${TEST_TEMPLATE_SPY_SLEEP_SECONDS:-0.1}" printf '
%s
\n' "$template_label" "$render_photo_html" ( -- cgit v1.2.3