Skip to content
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

Investigate and fix why test started failing after move to windows server 2022 #2389

Closed
mstoykov opened this issue Feb 15, 2022 · 0 comments
Closed
Labels
evaluation needed proposal needs to be validated or tested before fully implementing it in k6 maintenance

Comments

@mstoykov
Copy link
Contributor

After windows-latest started being windows server 2022 a particular test of ours started failing

--- FAIL: TestErrorCodes (2.07s)
    --- FAIL: TestErrorCodes/Connection_refused_redirect (2.00s)
        request_test.go:2059: 
            	Error Trace:	request_test.go:2059
            	Error:      	Received unexpected error:
            	            	Error: wrong error: 'dial: i/o timeout' at <eval>:6:73(49)
            	Test:       	TestErrorCodes/Connection_refused_redirect

Up until few days ago and with the previous version it was fine

We have at least one other case where we have a similar problem - we expect "connection refused" but we get "timeout". This seem to differ to as the one linked is about request timeout while we are getting a dial timeout.

This very likely is due to some changed network configuration, and maybe it should be just skipped on windows?

The current proposed fix is to pin to the old version, but this needs to be investigated and hopefully fixed.

@mstoykov mstoykov added evaluation needed proposal needs to be validated or tested before fully implementing it in k6 maintenance labels Feb 15, 2022
mstoykov added a commit that referenced this issue Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
evaluation needed proposal needs to be validated or tested before fully implementing it in k6 maintenance
Projects
None yet
Development

No branches or pull requests

1 participant