Merge \"Remove non-CTS packets assertion code\" into marshmallow-cts-dev
am: 0ba763ab98 Change-Id: I9d9549d4388af53475a0457f7be1d55d88d5e72d
This commit is contained in:
@@ -214,8 +214,6 @@ public class TrafficStatsTest extends AndroidTestCase {
|
||||
long deltaRxOtherPackets = (totalRxPacketsAfter - totalRxPacketsBefore) - uidRxDeltaPackets;
|
||||
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 same UID", deltaTxOtherPackets + deltaRxOtherPackets < 20);
|
||||
}
|
||||
|
||||
assertTrue("uidtxp: " + uidTxPacketsBefore + " -> " + uidTxPacketsAfter + " delta=" + uidTxDeltaPackets +
|
||||
|
||||
Reference in New Issue
Block a user