Details
-
Bug
-
Resolution: Incomplete
-
P5: Not important
-
None
-
5.0.0
-
None
Description
The tst_mediaobject test accesses some hosts via the Internet. This makes the test inherently unstable.
The test refers to at least these remotely hosted files (as of 871a21c05728344af5159014c81b09634d969263):
QUrl rtspLink("rtsp://v1.cache8.c.youtube.com/CjgLENy73wIaLwnoDBCE7tF7fxMYESARFEIJbXYtZ29vZ2xlSARSB3Jlc3VsdHNgpbWqq7L7je5KDA==/0/0/0/video.3gp"); QUrl httpLink("http://www.theflute.co.uk/media/BachCPE_SonataAmin_1.wma");
These hosts are not under our control; the servers could start rejecting requests for these files at any time due to temporary network outages, perceived abuse as we frequently run this autotest, scheduled maintenance of the hosts, media being deleted or renamed, etc.
A compromise would be to move some testdata onto our network test server and use the same mechanism for this test as for the Qt network tests.
Attachments
For Gerrit Dashboard: QTBUG-19539 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
39365,1 | test: Mark tst_MediaObject::playUrl() as XFAIL | 4.8 | qt/qt | Status: ABANDONED | -1 | 0 |