Thanks to visit codestin.com
Credit goes to github.com

Skip to content

test: Disable error on agent log in scaletest/reconnectingpty #5445

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

Conversation

mafredri
Copy link
Member

They way the reconnectingpty tests behave inherently will cause the
agent to occasionally log an error (e.g. due to test disconnecting at a
certain time), allowing these error logs to fail the test will cause
these tests to be flakey.

It's best for these tests to only rely on the observed behavior.

Example: https://github.com/coder/coder/actions/runs/3707568640/jobs/6284142189

They way the reconnectingpty tests behave inherently will cause the
agent to occasionally log an error (e.g. due to test disconnecting at a
certain time), allowing these error logs to fail the test will cause
these tests to be flakey.

It's best for these tests to only rely on the observed behavior.
@mafredri mafredri self-assigned this Dec 16, 2022
@mafredri mafredri merged commit ffb8df9 into main Dec 16, 2022
@mafredri mafredri deleted the mafredri/test-scaletest-reconnectingpty-disable-agent-error-log branch December 16, 2022 14:13
@github-actions github-actions bot locked and limited conversation to collaborators Dec 16, 2022
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