-
Notifications
You must be signed in to change notification settings - Fork 38.5k
Remove (Web|Rest)ClientIntegrationTests#invalidDomain
flaky tests
#31119
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
Comments
Please attempt to run it again. That sounds like one of our flaky reactive tests. In light of that, I'm closing this issue. However, if you find that it fails repeatedly for you, please report back here with further details on your environment. |
In my environment, it always fails.
|
RestClientIntegrationTests#invalidDomain
fails repeatedly
Thanks for the feedback, @hunjipo. It could potentially be an issue when running on MS Windows. Someone from the team will investigate it. |
It may caused by proxy, please disable it and try again. I've encountered such exception if proxy enabled:
|
@quaff Thanks, this is a good direction, and I did indeed have proxy enabled at that time. However, I didn't enable the proxy today, and I also turned off the HTTP proxy in the IDEA settings. Despite this, the test case still failed. Another noteworthy point is that we are throwing a different exception. |
I can reproduce time to time without a proxy the original exception reported ( |
It depends if we want to treat the timeout as a If we simply increase the default Also note that for HTTP Interface Client we have a similar case with two levels of timeout settings, and if you configure timeouts at the HTTP client level, which are more fine-grained, then the |
RestClientIntegrationTests#invalidDomain
fails repeatedly(Web|Rest)ClientIntegrationTests#invalidDomain
fails repeatedly
(Web|Rest)ClientIntegrationTests#invalidDomain
fails repeatedly(Web|Rest)ClientIntegrationTests#invalidDomain
flaky tests
After a related team discussion, we agreed that the wide range of possible different behaviors (dozens of milliseconds to dozens of seconds timeouts, some proxies and security software returning various HTTP code with different bodies, DNS behavior different across OSes) do not allow to have a reliable integration test for invalid domain, so we will just remove those. |
Affects: 6.1.0-SNAPSHOT
When I tried to run the test case, it reported this error, The stack:
The text was updated successfully, but these errors were encountered: