Merge "Fixed test for lingering traffic data." into marshmallow-cts-dev
am: 0f7a74c * commit '0f7a74c9f99bac16d6c599afc38d5f82cebb0ef3': Fixed test for lingering traffic data.
This commit is contained in:
@@ -215,7 +215,7 @@ public class TrafficStatsTest extends AndroidTestCase {
|
||||
if (deltaTxOtherPackets > 0 || deltaRxOtherPackets > 0) {
|
||||
Log.i(LOG_TAG, "lingering traffic data: " + deltaTxOtherPackets + "/" + deltaRxOtherPackets);
|
||||
// Make sure that not too many non-localhost packets are accounted for
|
||||
assertTrue("too many non-localhost packets on the sam UID", deltaTxOtherPackets + deltaTxOtherPackets < 20);
|
||||
assertTrue("too many non-localhost packets on the same UID", deltaTxOtherPackets + deltaRxOtherPackets < 20);
|
||||
}
|
||||
|
||||
assertTrue("uidtxp: " + uidTxPacketsBefore + " -> " + uidTxPacketsAfter + " delta=" + uidTxDeltaPackets +
|
||||
|
||||
Reference in New Issue
Block a user