Skip to content

test: remove the leftover directories, make two timing tests sound and close gaps of the command line - #130

Merged
leonkrix merged 1 commit into
mainfrom
test/slow-and-error-paths
Nov 11, 2026
Merged

leonkrix merged 1 commit into
mainfrom
test/slow-and-error-paths

Conversation

@leonkrix

Copy link
Copy Markdown
Owner

Reviews the slow and suspect tests and closes gaps that coverage showed.

  • Two timing tests that failed once in a full run are made sound: the stall test counts the lateness of the steps that start a stall for the surplus and of those that end it for the deficit, and the hold test of the agent runs 1.2 s with a derived bound.
  • The 14 profile runs are two runs of seven (the limit of 8 namespaces); the judged-set test of the command line runs 1 s per repetition.
  • Unit tests remove their directories when they pass and keep them when they fail (NETSCENARIO_KEEP_TEST_DIRS=1 keeps all); they left thousands of directories in the temporary directory before.
  • New tests for the summary of a run with TCP, programs and captures (fixture from a real run), expand --seed, show of models, the exit code by kind of error, the helper process (arguments and the check of a sysctl name, now split_setting) and the live accessors.
  • No change of API or format.

@leonkrix
leonkrix merged commit a844d32 into main Nov 11, 2026
36 checks passed
@leonkrix
leonkrix deleted the test/slow-and-error-paths branch November 11, 2026 11:25
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