Skip to content

flake: TestLogout/NoURLFile #257

Open
Open
@ethanndickson

Description

@ethanndickson

https://github.com/coder/coder/actions/runs/12365872187/job/34511667687

=== FAIL: cli TestLogout/NoURLFile (0.01s)
    logout_test.go:76: 
        	Error Trace:	C:/a/coder/coder/pty/ptytest/ptytest.go:31
        	            				C:/a/coder/coder/cli/logout_test.go:76
        	Error:      	Received unexpected error:
        	            	create pseudo console (-2147024890):
        	            	    github.com/coder/coder/v2/pty.newPty
        	            	        C:/a/coder/coder/pty/pty_windows.go:72
        	            	  - The operation completed successfully.
        	Test:       	TestLogout/NoURLFile
    --- FAIL: TestLogout/NoURLFile (0.01s)

Spotted on Windows Postgres tests.
Might be due to Windows os.Remove returning earlier than it should?

Metadata

Metadata

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions