Skip to content

tests: make wait_for_state less crun-specific - #2389

Merged
kolyshkin merged 1 commit into
containers:mainfrom
kolyshkin:tests-wait-for-state-dir
Oct 21, 2026
Merged

kolyshkin merged 1 commit into
containers:mainfrom
kolyshkin:tests-wait-for-state-dir

Conversation

@kolyshkin

Copy link
Copy Markdown
Collaborator

Before running the state command, wait_for_state waits for the <root>/<id>/status file to appear, which is where crun keeps the container state. This ties the helper to the way crun keeps the state.

Wait for the <root>/<id> directory instead, making it less crun-specific.

Before running the state command, wait_for_state waits for the
<root>/<id>/status file to appear, which is where crun keeps the
container state. This ties it to the way crun keeps the state.

Wait for the <root>/<id> directory instead, making it less
crun-specific.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>

@giuseppe giuseppe left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kolyshkin
kolyshkin merged commit a836ecb into containers:main Oct 21, 2026
66 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.

2 participants