Skip to content

Make TestContainerPids more resilient#10933

Merged
fuweid merged 1 commit into
containerd:mainfrom
dmcgowan:test-container-resilience
Nov 3, 2024
Merged

Make TestContainerPids more resilient#10933
fuweid merged 1 commit into
containerd:mainfrom
dmcgowan:test-container-resilience

Conversation

@dmcgowan

@dmcgowan dmcgowan commented Nov 3, 2024

Copy link
Copy Markdown
Member

ListPids may not pick up the sh subprocess yet when it is first run. To make this test more resilient, retry fetching the processes if only a single pid is found for a short time.

This is a re-occurring but inconsistent failure in #10877

ListPids may not pick up the sh subprocess yet when it is first run. To
make this test more resilient, retry fetching the processes if only a
single pid is found for a short time.

Signed-off-by: Derek McGowan <derek@mcg.dev>
@fuweid fuweid added this pull request to the merge queue Nov 3, 2024
Merged via the queue into containerd:main with commit 716445a Nov 3, 2024
@AkihiroSuda AkihiroSuda added cherry-pick/1.6.x cherry-pick/1.7.x Change to be cherry picked to release/1.7 branch labels Nov 3, 2024
@dmcgowan dmcgowan added cherry-picked/1.6.x PR commits are cherry-picked into release/1.6 branch cherry-picked/1.7.x PR commits are cherry-picked into release/1.7 branch and removed cherry-pick/1.6.x cherry-pick/1.7.x Change to be cherry picked to release/1.7 branch labels Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherry-picked/1.6.x PR commits are cherry-picked into release/1.6 branch cherry-picked/1.7.x PR commits are cherry-picked into release/1.7 branch kind/test size/M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants