Skip to content

tests: try killing subprocesses harder if they misbehave - #8191

Merged
jedevc merged 1 commit into
dagger:mainfrom
jedevc:subprocess-tests-kill-harder
Aug 20, 2024
Merged

jedevc merged 1 commit into
dagger:mainfrom
jedevc:subprocess-tests-kill-harder

Conversation

@jedevc

@jedevc jedevc commented Aug 20, 2024

Copy link
Copy Markdown
Contributor

Part of #8184, and split out of #8168, since my general approach there turns out to not be possible 😢

Somehow, we see weird timeouts because calls to the dagger cli aren't properly exiting out: https://dagger.cloud/dagger/traces/da4d9c2d21aef7f3eb8ff0856946c0c1#7e1bbffd12a2fbe1

This is it's own problem, but we shouldn't hang the test while waiting for this, we should actually exit and fail after a timeout.

@jedevc
jedevc requested review from gerhard and vito August 20, 2024 14:20

@gerhard gerhard left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

👍 🚀

@gerhard gerhard mentioned this pull request Aug 20, 2024
2 of 5 tasks
@jedevc
jedevc merged commit e122adf into dagger:main Aug 20, 2024
@jedevc
jedevc deleted the subprocess-tests-kill-harder branch August 20, 2024 15:01
sipsma added a commit to sipsma/dagger that referenced this pull request Aug 21, 2024
sipsma added a commit to sipsma/dagger that referenced this pull request Aug 21, 2024
sipsma added a commit that referenced this pull request Aug 21, 2024
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