Bug 1382995 - Reduce expected sent/received bytes to improve intermittent failures. r=bwc
MozReview-Commit-ID: 5kpGGUwpjGl
--- a/dom/media/tests/mochitest/test_peerConnection_stats.html
+++ b/dom/media/tests/mochitest/test_peerConnection_stats.html
@@ -420,23 +420,23 @@ var pedanticChecks = report => {
stat.selected) {
info("candidate-pair state is succeeded and selected is true");
// nominated
ok(stat.nominated,
stat.type + ".nominated is true. value="
+ stat.nominated);
// bytesSent
- ok(stat.bytesSent > 20000,
- stat.type + ".bytesSent is a sane number (>20,000) for a short test. value="
+ ok(stat.bytesSent > 5000,
+ stat.type + ".bytesSent is a sane number (>5,000) for a short test. value="
+ stat.bytesSent);
// bytesReceived
- ok(stat.bytesReceived > 20000,
- stat.type + ".bytesReceived is a sane number (>20,000) for a short test. value="
+ ok(stat.bytesReceived > 5000,
+ stat.type + ".bytesReceived is a sane number (>5,000) for a short test. value="
+ stat.bytesReceived);
// lastPacketSentTimestamp
ok(stat.lastPacketSentTimestamp,
stat.type + ".lastPacketSentTimestamp has a value. value="
+ stat.lastPacketSentTimestamp);
// lastPacketReceivedTimestamp