-
Notifications
You must be signed in to change notification settings - Fork 258
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
Test PackageUpdateResource_SourceAndSymbolNuGetOrgPushingAsync is flaky #10706
Comments
Took a quick look but not sure what we want to do here. If we Mock, then it no longer verifies how expected responses are handled by Also when I ran fiddler, this didn't emit any HTTP traffic that I could see. |
I took a quick look myself. Firstly, I was wrong about it making real network connections. The test uses Having written all that, I don't currently have any ideas why the test sometimes times out. The test itself specifies 5 second time out, and given that NuGet.Protocol tries requests 3 times by default, that explains the 15 second duration when tests fail. What I'm confident about is that repeating the test 4 times is pointless. It would be better for the tests to use a fake domain name ending in Given all this, I'm going to skip this test because it's too flaky at the moment. |
The test
NuGet.Protocol.Tests.PackageUpdateResourceTests.PackageUpdateResource_SourceAndSymbolNuGetOrgPushingAsync
appears to make real network connections to nuget.org and nuget.smbsrc.net. it's just flakyI don't think our CI should block PRs being merged if an external resource has a service outage, or the CI agent is having flakey network access to the outside world.
The text was updated successfully, but these errors were encountered: