Skip to content

test(scripts): skip the AUR pauses in tests - #45

Merged
noctuum merged 1 commit into
mainfrom
test-aur-pauses
Oct 20, 2026
Merged

noctuum merged 1 commit into
mainfrom
test-aur-pauses

Conversation

@noctuum

@noctuum noctuum commented Oct 20, 2026

Copy link
Copy Markdown
Member

aur_clone and aur_commit_push read their pauses from AURTOMATOR_CLONE_DELAY (2 seconds by default) and AURTOMATOR_RETRY_DELAY (5 seconds by default), and setup_test_env sets both to 0. tests/gpg-flow.bats generates its two keys once in setup_file, and every test gets a copy of the keyring. docs/WORKFLOW.md names the pauses and the variables.

Three new tests check the pauses with a sleep stub on PATH, with the defaults and with values from the environment. Locally the suite runs 434 tests in 52 s; at 2031e1a it took 219 s.

gpg-flow.bats also generates its keys once per file.
@codecov

codecov Bot commented Oct 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@noctuum
noctuum merged commit 076b06c into main Oct 20, 2026
5 checks passed
@noctuum
noctuum deleted the test-aur-pauses branch October 20, 2026 23:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant