Skip to content

fix: loadtest/reconnectingpty tweak timeout #5300

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 11 commits into from
Dec 6, 2022
Merged

Conversation

mtojek
Copy link
Member

@mtojek mtojek commented Dec 6, 2022

Fixes: #5187

I can't guarantee that it fully solves the problem, but we can try.

ReconnectingPTY tests strongly depend on real timeouts, so if running on overloaded workers (with other tests), we want to increase those timeouts or rewrite tests to be less time-dependent.

I have also adjusted the require.Contains(t, logStr, "hello world\n") to match the current OS output.

@mtojek mtojek self-assigned this Dec 6, 2022
@mtojek mtojek changed the title WIP: Testing flakes fix: loadtest/reconnectingptry tweak tests Dec 6, 2022
@mtojek mtojek changed the title fix: loadtest/reconnectingptry tweak tests fix: loadtest/reconnectingpty tweak tests Dec 6, 2022
@mtojek mtojek requested a review from a team December 6, 2022 13:38
@mtojek mtojek changed the title fix: loadtest/reconnectingpty tweak tests fix: loadtest/reconnectingpty tweak timeout Dec 6, 2022
@mtojek mtojek marked this pull request as ready for review December 6, 2022 13:38
@mtojek mtojek merged commit 84872d9 into coder:main Dec 6, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Dec 6, 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.

Flaky: loadtest/reconnectingpty
2 participants