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

Skip to content
Commit a1a987fe authored by Chiachang Wang's avatar Chiachang Wang
Browse files

Fix flaky testNotifyNetwork_WithforceReevaluation test

The test incorrectly starts two NetworkMonitors on single test.
But the callback object that is used for verifying the result is
the same one. Thus, the test will be flaky depending on the
timing on when verification starts and when the verification
result comes up. Update the test to use the same NM object.

Bug: 175330953
Test: atest NetworkMonitorTest#\
testNotifyNetwork_WithforceReevaluation --rerun-until-failure 50

Change-Id: I78463f83f0627783f2f49f7f13805ccac2df27d1
parent 47e51e4b
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