Closed Bug 998282 Opened 10 years ago Closed 10 years ago

Fix cancellable_request.sjs to reliably fill the media cache

Categories

(Core :: Audio/Video, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla31

People

(Reporter: roc, Assigned: roc)

Details

(Whiteboard: [rr])

Attachments

(1 file)

Found when running media tests with chaos mode and rr.

Some tests use cancellable_request.sjs to start a load and expect it to fill the media cache and be suspended before the load ends. But the current cancellable_request.sjs only generates 120K of data, which is larger than the default test cache size of 100K, but not much larger, so in some cases we don't manage to suspend the load before all the data has actually arrived and been stored in the cache.
Attached patch fixSplinter Review
Attachment #8408917 - Flags: review?(cpearce)
Attachment #8408917 - Flags: review?(cpearce) → review+
https://hg.mozilla.org/mozilla-central/rev/0920db1ab388
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
You need to log in before you can comment on or make changes to this bug.