Skip to content

runc-shim: add unit tests - #493

Open
mxpv wants to merge 1 commit into
mainfrom
runc-tests
Open

runc-shim: add unit tests#493
mxpv wants to merge 1 commit into
mainfrom
runc-tests

Conversation

@mxpv

@mxpv mxpv commented Sep 4, 2026

Copy link
Copy Markdown
Member

Adds test coverage for the shim, driven through the ttrpc Task service over a fake OCI runtime so the tests describe observable behaviour rather than the types underneath. Covers the container and exec lifecycle, exit and wait handling, published events and error mapping, plus the leaf helpers in common.rs, io.rs and runc.rs.

RuncFactory gains an injectable spawner, completing a seam the rest of the chain already had. No behaviour change.

Adds test coverage for the shim, driven through the ttrpc Task service
over a fake OCI runtime so the tests describe observable behaviour rather
than the types underneath. Covers the container and exec lifecycle, exit
and wait handling, published events and error mapping, plus the leaf
helpers in common.rs, io.rs and runc.rs.

RuncFactory gains an injectable spawner, completing a seam the rest of the
chain already had. No behaviour change.
@github-actions github-actions Bot added the C-runc-shim Runc shim label Sep 4, 2026
@mxpv
mxpv requested a review from a team September 4, 2026 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-runc-shim Runc shim

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant