Bug 1382995 - Reduce expected sent/received bytes to improve intermittent failures. r=bwc draft
authorMichael Froman <mfroman@mozilla.com>
Thu, 27 Jul 2017 15:48:13 -0500
changeset 642819 1e40a8a2370feb55c9507a812386d6a684233a55
parent 642518 a921bfb8a2cf3db4d9edebe9b35799a3f9d035da
child 725109 89740ceb6f93dab842bf013b2a374e3e4d371983
push id72875
push userbmo:mfroman@nostrum.com
push dateTue, 08 Aug 2017 19:47:16 +0000
reviewersbwc
bugs1382995
milestone57.0a1
Bug 1382995 - Reduce expected sent/received bytes to improve intermittent failures. r=bwc MozReview-Commit-ID: 5kpGGUwpjGl
dom/media/tests/mochitest/test_peerConnection_stats.html
--- 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