#34438 closed defect (bug) (invalid)
Tests_oEmbed_HTTP_Headers tests are failing
Reported by: | tyxla | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.4 |
Component: | Embeds | Keywords: | |
Focuses: | Cc: |
Attachments (1)
Change History (9)
#2
follow-up:
↓ 3
@
9 years ago
Out of curiosity, how are you running the tests? On my local checkout everything passes, as do the travis builds.
It's worth noting that #34207 adds some changes to the headers tests.
#3
in reply to:
↑ 2
@
9 years ago
Replying to swissspidy:
Out of curiosity, how are you running the tests? On my local checkout everything passes, as do the travis builds.
It's worth noting that #34207 adds some changes to the headers tests.
The tests are failing on Windows 10, PHP 5.6.8, PHPunit 3.7.21 with the latest trunk.
#4
@
9 years ago
- Keywords reporter-feedback added
This patch will cause the tests to not be run in a separate process - when changing to a per-test header, you need to use @runInSeparateProcess
, instead of @runTestsInSeparateProcesses
.
Could I get you to test again with this change?
#5
follow-up:
↓ 6
@
9 years ago
- Keywords reporter-feedback removed
@pento Unfortunately, with @runInSeparateProcess on each method the tests are still failing for the same reason. I'm starting to believe that this is a bug on PHPUnit 3.7.21 (the version I'm testing with) on Windows. I've also confirmed that the issue occurs on Windows 8.1 as well (with the same PHPUnit version again). Do you have any other thoughts or ideas, or perhaps updating to a newer PHPUnit seems to be the only option here?
#6
in reply to:
↑ 5
@
9 years ago
Replying to tyxla:
Do you have any other thoughts or ideas, or perhaps updating to a newer PHPUnit seems to be the only option here?
Considering that version 5.0 is the current stable release of PHPUnit 5.0 and Travis uses PHPUnit 4.5 or higher (except for PHPUnit 3.6 for PHP 5.2 builds), updating seems like a good idea.
Moving the
@runTestsInSeparateProcesses
and@preserveGlobalState
annotations to the methods inTests_oEmbed_HTTP_Headers
.