Merge "Fixed test for lingering traffic data." into marshmallow-cts-dev am: 0f7a74c am: 8bdae23
am: 810b12c * commit '810b12cbb62c4c91f5deab49b228916bdb6f2708': 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