diff options
| author | Paul Buetow <paul@buetow.org> | 2026-06-13 00:01:37 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-06-13 00:01:37 +0300 |
| commit | 54254c06e262d0e199f2121b5a7e7fc426a77039 (patch) | |
| tree | 40280072ccec7ad003e9fc7cfd0afe451b35c98c | |
| parent | 052b4aec6ef252f8cb5e5e114a09645073be9ff3 (diff) | |
Stabilize template parallelism test for em0
| -rwxr-xr-x | tests/cli.sh | 3 | ||||
| -rwxr-xr-x | 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 '<div class="%s">%s</div>\n' "$template_label" "$render_photo_html" ( |
