diff --git a/tests/integration/scenarios/initial_playback.test.js b/tests/integration/scenarios/initial_playback.test.js index df14d247d7..4df7f718d7 100644 --- a/tests/integration/scenarios/initial_playback.test.js +++ b/tests/integration/scenarios/initial_playback.test.js @@ -280,7 +280,7 @@ function runInitialPlaybackTests({ multithread } = {}) { }); expect(manifestLoaderCalledTimes).to.equal(1); - await sleep(100); + await sleep(500); expect(manifestLoaderCalledTimes).to.equal(1); expect(segmentLoaderLoaderCalledTimes).to.equal(4); diff --git a/tests/integration/scenarios/manifest_error.test.js b/tests/integration/scenarios/manifest_error.test.js index d023795a00..3f670c8e47 100644 --- a/tests/integration/scenarios/manifest_error.test.js +++ b/tests/integration/scenarios/manifest_error.test.js @@ -356,7 +356,7 @@ describe("manifest error management", function () { expect(player.getError()).to.equal(null); - vi.advanceTimersByTime(100000); + vi.advanceTimersByTime(10000); vi.useRealTimers(); await sleepWithoutFakeTimer(0);