Skip to content

test(agent/agentscripts): fix test flake in TestEnv #12326

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

mafredri
Copy link
Member

This should hopefully fix the following flake: https://github.com/coder/coder/actions/runs/8066720038/job/22035474376

It looks like the test output was correct, but we errored on asserting no error on Execute. Thus it looks like our test-routine exited too quickly and called runner.Close() before Execute had completed.

@mafredri mafredri self-assigned this Feb 27, 2024
@mafredri mafredri requested a review from kylecarbs February 27, 2024 17:41
@mafredri mafredri enabled auto-merge (squash) February 27, 2024 17:48
@mafredri mafredri merged commit 32691e6 into main Feb 27, 2024
@mafredri mafredri deleted the mafredri/test-fix-agentscript-flake branch February 27, 2024 17:58
@github-actions github-actions bot locked and limited conversation to collaborators Feb 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants