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

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

Test: Deflake RepeatedSetup_KeepChangingPrivateDnsServers

The test fails if the flag dot_async_handshake is 1. If the
flag is 0, DnsResolver doesn't retry when DoT connection
establishement fails; if the flag is 1, DnsResolver does retry
when DoT connection establishment fails. To fix the test to not
fail when the flag is 1, we check whether |connectCountsAfter|
is greater than |connectCountsBefore| rather than check the exact
value returned by tls.acceptConnectionsCount().

Bug: 261327438
Test: run the test with dot_async_handshake=1
Test: run the test with dot_async_handshake=0
Change-Id: I729e5a91d97bd57dbbe5670de2305bc7f8a09200
parent 8447354f
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