summaryrefslogtreecommitdiffstats
path: root/content/test
diff options
context:
space:
mode:
authorcpaulin <cpaulin@chromium.org>2015-12-11 17:24:17 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-12 01:26:01 +0000
commit229dc6e6054036590deace42242aadf3991cd019 (patch)
tree3612c8caabe9a0cbfeb970a22f68433670fa9074 /content/test
parent7e37def9b180f49534e17800f7eace4cf9b6af85 (diff)
downloadchromium_src-229dc6e6054036590deace42242aadf3991cd019.zip
chromium_src-229dc6e6054036590deace42242aadf3991cd019.tar.gz
chromium_src-229dc6e6054036590deace42242aadf3991cd019.tar.bz2
MediaRecorder test: disable flaky time stamp checks.
MediaRecorder testing start(time_slice): disable the flaky time stamps delta calculations because they can be slightly off and cause some bots to fail. The root cause is the time stamp delta was supposed to be 100ms but it came out as 99.99999999999955ms which failed (sic.). The corrective action is to remove that time stamp check. Removal of this check is fine because the checks pertains to a performance measurement, which is not necessary in a content browser test. The flakiness had only been found on MAC bots so far. BUG=568913 mcasas@ PTAL avi@ Owners RS Review URL: https://codereview.chromium.org/1515323002 Cr-Commit-Position: refs/heads/master@{#364859}
Diffstat (limited to 'content/test')
-rw-r--r--content/test/data/media/mediarecorder_test.html6
1 files changed, 0 insertions, 6 deletions
diff --git a/content/test/data/media/mediarecorder_test.html b/content/test/data/media/mediarecorder_test.html
index 52ebcf2..f82f9bd 100644
--- a/content/test/data/media/mediarecorder_test.html
+++ b/content/test/data/media/mediarecorder_test.html
@@ -154,12 +154,6 @@ function testStartWithTimeSlice() {
});
})
.then(function() {
- var timeDeltas = getTimeStampDeltas(timeStamps);
- timeDeltas.forEach(function(timeDelta) {
- assertTrue(timeDelta >= DEFAULT_TIME_SLICE, 'A time slice was ' +
- timeDelta + ' ms which is shorter than the expected minimum '
- + DEFAULT_TIME_SLICE + 'ms');
- });
assertTrue(emptyBlobs == 0, 'Recording has ' + emptyBlobs +
' empty blobs, there should be no such empty blobs.');
})