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

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

Test: Catch all Nat64PrefixUpdates in PrefixDiscoveryBypassTls

The test PrefixDiscoveryBypassTls expects DnsResolver to trigger
onNat64PrefixEvent 4 times (2 for prefix-added events; 2 for
prefix-removed events) , but it doesn't catch all of the event
before it ends. This will cause the next test SetAndClearNat64Prefix
to fail if the last onNat64PrefixEvent is received after
SetAndClearNat64Prefix runs.

This change improves PrefixDiscoveryBypassTls to ensure that all
onNat64PrefixEvents are caught before the test ends.

Bug: 293833962
Test: ran PrefixDiscoveryBypassTls and SetAndClearNat64Prefix together
      300 times
Change-Id: I09de58b957679602fae2c9be1caa1e7f0fa29c21
parent 7656f200
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