Skip to content

πŸŽ₯ Make videos programmatically with React

fix(media-parser): bump stream-remote test timeout 15s β†’ 30s

Aleksej Dix18bc73efbf83
diff --git a/packages/media-parser/src/test/stream-remote.test.ts b/packages/media-parser/src/test/stream-remote.test.ts
index 13bcdb5580..f79cc15439 100644
--- a/packages/media-parser/src/test/stream-remote.test.ts
+++ b/packages/media-parser/src/test/stream-remote.test.ts
@@ -22,7 +22,11 @@ test(
});
expect(result.videoCodec).toEqual('h264');
},
- {timeout: 15000},
+ // Bumped from 15000 β€” third-party CDN (test-videos.co.uk) has
+ // intermittent slow responses on CI runners; the test was
+ // timing out at exactly 15002ms in a known-flake pattern.
+ // 30s is generous headroom for the 1MB download + parse.
+ {timeout: 30000},
);
test(