Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a064114d authored by Mike Yu's avatar Mike Yu
Browse files

Test: Deflake ResolverTest#QueryTlsServerTimeout

Occasionally, the test starts the second DNS query while DnsResolver
is still cleaning up the DoT socket created for the first DNS query.
In that case, the second DNS query immediately gets an error from
DoT engine, and then the test fails.

Actually, the second DNS query can be removed from the test, because
the value of dot_query_timeout_ms is verified by the first DNS query.

Therefore, this CL removes the second DNS query. In addition, to
speed up the test, DoT server response time is reduced from 5s to 2s.

Bug: 310556479
Test: run QueryTlsServerTimeout 100 times
Change-Id: I0cea60667f802861bf31fd4ecb0832b278930a93
parent 34671298
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment