Repository navigation
test: fix TestNetworkAliases, fixes #7657 - #7658
Conversation
|
Download the artifacts for this pull request:
See Testing a PR. |
rfay
left a comment
There was a problem hiding this comment.
It looks OK to me. As you know, I've converted to require everywhere because I don't want to see output after a failure, just chase the first failure. I'm not sure why use assertions in t.Cleanup() since the error would be unexpected and probably indicate a real problem anyway. So I usually either ignore failures there or require() instead.
|
Looking at So this is most likely a problem with the test, and not with DDEV logic. |
|
Normally |
| if len(apps) >= 2 { | ||
| app1, app2 = apps[0], apps[1] |
There was a problem hiding this comment.
I found out what was wrong: sometimes app1 was actually app2, that's why Traefik failed with 404, because there was nothing running on that port.
Incorrect order = failed checks.
The Issue
How This PR Solves The Issue
TestNetworkAliaseseverywhere, I don't think that we can get "connection reset by peer" inside containers.Manual Testing Instructions
Automated Testing Overview
Release/Deployment Notes