Skip to content

Commit

Permalink
test: Fix flaky test in Tizen (#7268)
Browse files Browse the repository at this point in the history
  • Loading branch information
avelad authored Sep 6, 2024
1 parent 257de7f commit bb78f9f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/ads_integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,6 @@ describe('Ads', () => {
await waiter.timeoutAfter(20)
.waitForEvent(adManager, shaka.ads.Utils.AD_STOPPED);

await shaka.test.Util.delay(1);
expect(video.currentTime).toBeGreaterThan(8);

// Play for 10 seconds, but stop early if the video ends. If it takes
// longer than 30 seconds, fail the test.
await waiter.waitUntilPlayheadReachesOrFailOnTimeout(video, 10, 30);
Expand Down Expand Up @@ -264,9 +261,6 @@ describe('Ads', () => {
await waiter.timeoutAfter(20)
.waitForEvent(adManager, shaka.ads.Utils.AD_STOPPED);

await shaka.test.Util.delay(1);
expect(video.currentTime).toBeGreaterThan(8);

// Play for 10 seconds, but stop early if the video ends. If it takes
// longer than 30 seconds, fail the test.
await waiter.waitUntilPlayheadReachesOrFailOnTimeout(video, 10, 30);
Expand Down

0 comments on commit bb78f9f

Please sign in to comment.