Skip to content

[release/1.7] Make TestContainerPids more resilient#10936

Merged
AkihiroSuda merged 1 commit into
containerd:release/1.7from
dmcgowan:backport-1.7-testcontainerpids-resilience
Nov 4, 2024
Merged

[release/1.7] Make TestContainerPids more resilient#10936
AkihiroSuda merged 1 commit into
containerd:release/1.7from
dmcgowan:backport-1.7-testcontainerpids-resilience

Conversation

@dmcgowan

@dmcgowan dmcgowan commented Nov 4, 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.

(cherry picked from commit bddeba8)

Backport of #10933

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>
(cherry picked from commit bddeba8)
Signed-off-by: Derek McGowan <derek@mcg.dev>
@AkihiroSuda AkihiroSuda merged commit 313785f into containerd:release/1.7 Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants