Skip to content

fix: GitSSH test flake on slow CI runs #1001

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
Apr 14, 2022
Merged

fix: GitSSH test flake on slow CI runs #1001

merged 1 commit into from
Apr 14, 2022

Conversation

kylecarbs
Copy link
Member

There was a 5s timeout on the context, which was occasionally
hit during slow runs. See:

https://github.com/coder/coder/runs/6025622326?check_suite_focus=true

I also removed the AWS authentication, because it added to the test
time for key-generation and such.

There was a 5s timeout on the context, which was occasionally
hit during slow runs. See:

https://github.com/coder/coder/runs/6025622326?check_suite_focus=true

I also removed the AWS authentication, because it added to the test
time for key-generation and such.
@kylecarbs kylecarbs requested a review from f0ssel April 14, 2022 15:25
@kylecarbs kylecarbs self-assigned this Apr 14, 2022
@codecov
Copy link

codecov bot commented Apr 14, 2022

Codecov Report

Merging #1001 (7c94c27) into main (42e9956) will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff            @@
##             main    #1001    +/-   ##
========================================
  Coverage   66.62%   66.62%            
========================================
  Files         249      252     +3     
  Lines       14686    14870   +184     
  Branches      135      135            
========================================
+ Hits         9784     9907   +123     
- Misses       3923     3963    +40     
- Partials      979     1000    +21     
Flag Coverage Δ
unittest-go-macos-latest 53.78% <ø> (-0.13%) ⬇️
unittest-go-postgres- 66.41% <ø> (-0.18%) ⬇️
unittest-go-ubuntu-latest 56.55% <ø> (+0.05%) ⬆️
unittest-go-windows-2022 53.38% <ø> (?)
unittest-js 61.61% <ø> (ø)
Impacted Files Coverage Δ
coderd/provisionerdaemons.go 59.86% <0.00%> (-3.61%) ⬇️
provisionerd/provisionerd.go 79.70% <0.00%> (-0.45%) ⬇️
provisioner/terraform/provision.go 68.11% <0.00%> (-0.44%) ⬇️
provisioner/echo/serve.go 56.80% <0.00%> (ø)
pty/pty_windows.go 68.25% <0.00%> (ø)
pty/start_windows.go 66.95% <0.00%> (ø)
agent/usershell/usershell_windows.go 83.33% <0.00%> (ø)
peer/conn.go 79.94% <0.00%> (+0.76%) ⬆️
peer/channel.go 86.12% <0.00%> (+1.15%) ⬆️
cli/agent.go 78.26% <0.00%> (+2.17%) ⬆️
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 42e9956...7c94c27. Read the comment docs.

@f0ssel
Copy link
Contributor

f0ssel commented Apr 14, 2022

I tried basic token and failed for some reason, so I just copied the other test code. Welcoming this change

@kylecarbs kylecarbs merged commit 7090227 into main Apr 14, 2022
@kylecarbs kylecarbs deleted the gitsshflake branch April 14, 2022 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants