Bug 1762391: Loosen these comparisons; we have no guarantee that more than one packet has been sent. r=ng

Depends on D193131

Differential Revision: https://phabricator.services.mozilla.com/D193132
This commit is contained in:
Byron Campen 2023-11-09 04:12:05 +00:00
parent 658ce6bb99
commit a4a59fd615

View file

@ -1345,16 +1345,16 @@ function pedanticChecks(report) {
// bytesSent // bytesSent
ok( ok(
stat.bytesSent > 1000, stat.bytesSent > 100,
`${stat.type}.bytesSent is a sane number (>1,000) for a short ` + `${stat.type}.bytesSent is a sane number (>100) if media is flowing. ` +
`${stat.kind} test. value=${stat.bytesSent}` `value=${stat.bytesSent}`
); );
// bytesReceived // bytesReceived
ok( ok(
stat.bytesReceived > 500, stat.bytesReceived > 100,
`${stat.type}.bytesReceived is a sane number (>500) for a short ` + `${stat.type}.bytesReceived is a sane number (>100) if media is flowing. ` +
`${stat.kind} test. value=${stat.bytesReceived}` `value=${stat.bytesReceived}`
); );
// lastPacketSentTimestamp // lastPacketSentTimestamp