Skip to content

fqdn/dnsproxy/proxy_test: increase again timeout for DNS TCP exchanges#12606

Merged
rolinh merged 1 commit intomasterfrom
pr/qmonnet/dnsproxy_ttl_timeout
Jul 23, 2020
Merged

fqdn/dnsproxy/proxy_test: increase again timeout for DNS TCP exchanges#12606
rolinh merged 1 commit intomasterfrom
pr/qmonnet/dnsproxy_ttl_timeout

Conversation

@qmonnet
Copy link
Copy Markdown
Member

@qmonnet qmonnet commented Jul 21, 2020

Follow-up to #12305, where we raised the timeout from 100ms to 500ms. This seemed to suppress most of the flakes reported in #12042, but we saw one again recently: Try restoring the timeout value to its original value of 1 second.

Most of the time the RTT time for the exchange is way below 100ms anyway and we won't have a difference on tests duration. In the worst and very unlikely case where all DNS TCP exchanges are super-slow, we only have 5 exchanges in the tests and cannot spend more than a total 5 seconds on them (or one would timeout and the test fail).

Fixes: #12042

Follow-up to #12305, where we raised the timeout from 100ms to 500ms.
This seemed to suppress most of the flakes reported in #12042, but we
saw one again recently: Try restoring the timeout value to its original
value of 1 second.

Most of the time the RTT time for the exchange is way below 100ms anyway
and we won't have a difference on tests duration. In the worst and very
unlikely case where all DNS TCP exchanges are super-slow, we only have 5
exchanges in the tests and cannot spend more than a total 5 seconds on
them (or one would timeout and the test fail).

Fixes: #12042
Signed-off-by: Quentin Monnet <quentin@isovalent.com>
@qmonnet qmonnet added area/CI Continuous Integration testing issue or flake release-note/ci This PR makes changes to the CI. needs-backport/1.7 ci/flake This is a known failure that occurs in the tree. Please investigate me! labels Jul 21, 2020
@qmonnet qmonnet requested review from a team July 21, 2020 13:59
@qmonnet
Copy link
Copy Markdown
Member Author

qmonnet commented Jul 21, 2020

test-focus RuntimePrivilegedUnitTests

@coveralls

This comment has been minimized.

@qmonnet qmonnet added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Jul 23, 2020
@rolinh rolinh merged commit fff58ef into master Jul 23, 2020
@rolinh rolinh deleted the pr/qmonnet/dnsproxy_ttl_timeout branch July 23, 2020 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/CI Continuous Integration testing issue or flake ci/flake This is a known failure that occurs in the tree. Please investigate me! ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/ci This PR makes changes to the CI.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: RuntimePrivilegedUnitTests: timeout in DNSProxyTestSuite.TestRespondViaCorrectProtocol

6 participants