Skip to content

test: trim the suite - #309

Merged
HaoZeke merged 6 commits into
developfrom
test/trim-suite
Nov 26, 2026
Merged

HaoZeke merged 6 commits into
developfrom
test/trim-suite

Conversation

@HaoZeke

@HaoZeke HaoZeke commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

Commits:

  • test: drop three checks already made elsewhere
  • test: fold near-copy cases into one table each
  • test: stub curl for the webhook posts
  • test: shrink the atomic-name and fixture loops
  • test: replace deadline waits with pipes and joined children
  • test: block the summary write with a directory

an_unwritable_run_summary_still_writes_the_result set run_dir
to 0o555. Root can still create the file. The test now creates
a directory at summary.json, as the summary suite does, and
does not restore 0o755. Rust tests stay 772.

The shared stdout sweep already runs `eb-junit --result`, `--help`,
and `--version`. The ReFrame command-line test already feeds
`gromacs+gpu(v2)`. The JUnit golden file already has `tests="0"`
and no `testcase`.

Rust tests: 800 to 797.
Eleven groups of near-copy tests become one table each. Every old
case stays as a row: ReFrame escapes, duration bounds, illegal
`--stack-checks` mixes, `eb-cvmfs` process groups, `sbom` bodies,
truncated audit documents, EasyStack options, resume skips, closed
stdout (`EPIPE`), dry-run lines, and malformed input. Those rows
check the producer, the path, and `invalid JSON`.

Rust tests: 797 to 772.
The three webhook tests record the request with a curl stub on
`PATH` and return 0, 22, or 7. The token stays out of the log.
Rust tests stay 772.
`write_atomic` tries 2 temporary names under `cfg(test)` and 1000
otherwise. The failure test fills those 2 names and the previous
bytes stay. The fixture race runs 2 threads of 2 syncs. Rust tests
stay 772.
Signal tests block on a named pipe the stub writes, then wait for
the child. A rotation wait ends when the child exits, or when the
lock descriptor is open. `eb-test-map` and the text reader join the
thread that opens a `fifo`. `when = problems` records curl instead
of reading a socket. The four `eb-cvmfs` timeout tests are
unchanged. Rust tests stay 772.
`an_unwritable_run_summary_still_writes_the_result` set `run_dir`
to `0o555`. Root can still create the file. The test now creates
a directory at `summary.json`, as the summary suite does, and
does not restore `0o755`. Rust tests stay 772.
@HaoZeke
HaoZeke merged commit e882b3c into develop Nov 26, 2026
8 checks passed
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