Skip to content

Increase testExecDetachProcessRunning sleep margin to avoid CI flake - #2063

Merged
jglogan merged 1 commit into
apple:mainfrom
jglogan:fix/exec-detach-flaky-sleep-margin
Aug 3, 2026
Merged

Increase testExecDetachProcessRunning sleep margin to avoid CI flake#2063
jglogan merged 1 commit into
apple:mainfrom
jglogan:fix/exec-detach-flaky-sleep-margin

Conversation

@jglogan

@jglogan jglogan commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

ContainersService serializes exec starts on a single host-wide lock shared with container bootstrap (VM boot), so under concurrent test load a detached exec can queue for 10+ seconds before it even runs. sleep 10 could fully exit before the assertion ran; bump to sleep 60 for margin.

ContainersService serializes exec starts on a single host-wide lock
shared with container bootstrap (VM boot), so under concurrent test
load a detached exec can queue for 10+ seconds before it even runs.
sleep 10 could fully exit before the assertion ran; bump to sleep 60
for margin.
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

Code Coverage

Tier Line Coverage
Unit 24.24%
Integration 66.22%
Combined 75.58%

@jglogan
jglogan merged commit 520371c into apple:main Aug 3, 2026
4 checks passed
@jglogan
jglogan deleted the fix/exec-detach-flaky-sleep-margin branch August 3, 2026 22:28
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