Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

test: fix TestAgent_Lifecycle/ShutdownScriptOnce to wait for stats#17387

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

spikecurtis
Copy link
Contributor

@spikecurtisspikecurtis commentedApr 14, 2025
edited
Loading

fixes:coder/internal#576

TestAgent_Lifecycle/ShutdownScriptOnce hits error logs which cause test failures. These logs are legit errors and have to do with shutting down the agent before it has fully come up.

This PR changes the test to wait for the agent to send stats (a good indicator that it's fully up, and beyond the errors that have triggered test failures in past) before closing it.

@spikecurtisGraphite App
Copy link
ContributorAuthor

This stack of pull requests is managed byGraphite. Learn more aboutstacking.

@spikecurtisspikecurtis marked this pull request as ready for reviewApril 14, 2025 12:13
@spikecurtisspikecurtis changed the titlefix: wait for agent to be up in TestAgent_Lifecycle/ShutdownScriptOncefix: fix TestAgent_Lifecycle/ShutdownScriptOnce to wait for statsApr 14, 2025
Copy link
Member

@mafredrimafredri left a comment

Choose a reason for hiding this comment

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

Suggestion, use thetest: prefix for PR title to avoid polluting the changelog and keep focus for actual bug fixes. Otherwise LGTM as far as quick 'n dirty fixes go 😄.

@spikecurtisspikecurtis changed the titlefix: fix TestAgent_Lifecycle/ShutdownScriptOnce to wait for statstest: fix TestAgent_Lifecycle/ShutdownScriptOnce to wait for statsApr 14, 2025
@spikecurtisspikecurtisenabled auto-merge (squash)April 14, 2025 12:17
@spikecurtisspikecurtis merged commit73f5af8 intomainApr 14, 2025
40 checks passed
@spikecurtisspikecurtis deleted the spike/internal-576-TestAgent_Lifecycle/ShutdownScriptOnce branchApril 14, 2025 12:20
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsApr 14, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@mafredrimafredrimafredri approved these changes

Assignees

@spikecurtisspikecurtis

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

flake: TestAgent_Lifecycle/ShutdownScriptOnce
2 participants
@spikecurtis@mafredri

[8]ページ先頭

©2009-2025 Movatter.jp