Skip to content

Commit

Permalink
test: skip test on ie 11 (#1206)
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonocasey authored Sep 22, 2021
1 parent 9d6505a commit 6d0cbd1
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion test/loader-common.js
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,16 @@ export const LoaderCommonFactory = ({

// only main/fmp4 segment loaders use async appends and parts/partIndex
if (usesAsyncAppends) {
QUnit.test('playlist change before any appends does not error', function(assert) {
let testFn = 'test';

if (videojs.browser.IE_VERSION) {
testFn = 'skip';
}

// this test has a race condition on ie 11 that causes it to fail some of the time.
// Since IE 11 isn't really a priority and it only fails some of the time we decided to
// skip this on IE 11.
QUnit[testFn]('playlist change before any appends does not error', function(assert) {
return this.setupMediaSource(loader.mediaSource_, loader.sourceUpdater_).then(() => {
loader.playlist(playlistWithDuration(50, {
uri: 'bar-720.m3u8',
Expand Down

0 comments on commit 6d0cbd1

Please sign in to comment.