Skip to content

test flake: TestSSH/StartStoppedWorkspaceConflict #269

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

Closed
johnstcn opened this issue Jan 8, 2025 · 1 comment · Fixed by coder/coder#16082
Closed

test flake: TestSSH/StartStoppedWorkspaceConflict #269

johnstcn opened this issue Jan 8, 2025 · 1 comment · Fixed by coder/coder#16082
Assignees
Labels

Comments

@johnstcn
Copy link
Member

johnstcn commented Jan 8, 2025

Seen here (windows test-postgres): https://github.com/coder/coder/actions/runs/12676111432/job/35328614075?pr=16072

    ssh_test.go:228: 
        	Error Trace:	C:/a/coder/coder/cli/ssh_test.go:228
        	Error:      	Not equal: 
        	            	expected: 2
        	            	actual  : 1
        	Test:       	TestSSH/StartStoppedWorkspaceConflict
        	Messages:   	expected 2 conflicts

cc @mafredri

@mafredri
Copy link
Member

mafredri commented Jan 9, 2025

Oh that's fun. On Windows the processing is so slow that the build has time to complete and a second is successfully started and completed 😅, hence no conflict. I'll improve the synchronization to avoid the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants