summaryrefslogtreecommitdiff
path: root/tests/unit/java/android/net/NetworkStatsCollectionTest.java
diff options
context:
space:
mode:
authorRambo Wang <rambowang@google.com>2022-02-04 07:55:45 -0800
committerRambo Wang <rambowang@google.com>2022-02-04 07:55:45 -0800
commit4d64bd6b2aff66eaeccf924ca8c181cfafaf2cee (patch)
tree542f8c1c3fbb2a776e696f6cface92c7643627e9 /tests/unit/java/android/net/NetworkStatsCollectionTest.java
parent445dede4eb60cd8058927ad454dde5e693cde58a (diff)
Reduce the flakiness of carrier privileges check
Monitoring carrier config change broadcast and then checking carrier privileges status is racy. The component that updates CP status (e.g. CarrierPrivilegeTracker) may monitor the same broadcast and the status check result will be determined by the fact who received it firstly. This CL moves the CP check after the current sleep to reduce the flakiness to unblock the CP migration. The follow CL (aosp/1971439) will throughly resolve the flakiness by the the help of CarrierPrivilegesListener. Bug: 217557996 Test: atest android.net.cts.ConnectivityDiagnosticsManagerTest Change-Id: Ib1ab554732b6bb25426a07a42043801a2d05c546
Diffstat (limited to 'tests/unit/java/android/net/NetworkStatsCollectionTest.java')
0 files changed, 0 insertions, 0 deletions