Skip to content

Commit

Permalink
Try fixing flaky integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
peaBerberian committed Aug 28, 2024
1 parent a3d1944 commit e9f9758
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/integration/scenarios/initial_playback.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/scenarios/manifest_error.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e9f9758

Please sign in to comment.