Skip to content

Conversation

mafredri
Copy link
Member

@mafredri mafredri commented Apr 9, 2025

I haven't been able to verify this fix, but I'm hoping this'll do it.

Fixes coder/internal#558

I haven't been able to verify this fix, but I'm hoping this'll do it.

Fixes coder/internal#558
@mafredri mafredri self-assigned this Apr 9, 2025
pty.ExpectMatchContext(ctx, "started")
// Sleep a bit to ensure the sleep has started.
time.Sleep(testutil.IntervalMedium)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: maybe we should only sleep on runtime.GOOS == "darwin"?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I kind of agree, but also worry about this being a very hard to trigger edge case on other OS's as well :/.

@mafredri mafredri merged commit 98c05b3 into main Apr 9, 2025
31 checks passed
@mafredri mafredri deleted the mafredri/test-fix-agentssh-flake2 branch April 9, 2025 17:28
@github-actions github-actions bot locked and limited conversation to collaborators Apr 9, 2025
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.

flake: TestNewServer_CloseActiveConnections/Shutdown
2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy