From 9e656ee0bdaa9876cbbd7e8a84dfb5fdde4ee5a2 Mon Sep 17 00:00:00 2001 From: Michael Froman Date: Mon, 10 Jul 2017 10:08:37 -0500 Subject: [PATCH] Bug 1379400 - remove upper limit on "sane" value for bytes received or sent. r=drno We're not really gaining much information by checking for an upper limit on the bytesReceived or bytesSent stat here. This should help with intermittent failures. MozReview-Commit-ID: 5tPRKlaOYX6 --HG-- extra : rebase_source : fd6c570a5c0ca403e554ade533314bb85dcffa4e --- dom/media/tests/mochitest/test_peerConnection_stats.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dom/media/tests/mochitest/test_peerConnection_stats.html b/dom/media/tests/mochitest/test_peerConnection_stats.html index f3d3d0a5c717..084fbfe55967 100644 --- a/dom/media/tests/mochitest/test_peerConnection_stats.html +++ b/dom/media/tests/mochitest/test_peerConnection_stats.html @@ -425,13 +425,13 @@ var pedanticChecks = report => { + stat.nominated); // bytesSent - ok(stat.bytesSent > 20000 && stat.bytesSent < 800000, - stat.type + ".bytesSent is a sane number (20,000<>800,000)for a short test. value=" + ok(stat.bytesSent > 20000, + stat.type + ".bytesSent is a sane number (>20,000) for a short test. value=" + stat.bytesSent); // bytesReceived - ok(stat.bytesReceived > 20000 && stat.bytesReceived < 800000, - stat.type + ".bytesReceived is a sane number (20,000<>800,000) for a short test. value=" + ok(stat.bytesReceived > 20000, + stat.type + ".bytesReceived is a sane number (>20,000) for a short test. value=" + stat.bytesReceived); // lastPacketSentTimestamp