Skip to content

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