Skip to content

Conversation

@clue
Copy link
Member

@clueclue commented Jul 10, 2020

This only reports an error on PHP 7.4 when executed like this:

$ vendor/bin/phpunit --coverage-text --exclude-group internet 

This has been worked around by clearing garbage twice (see #156). Interestingly, this does not actually affect any of the excluded tests but only seems to show up at a later stage.

Builds on top of #156

This only reports an error on PHP 7.4 when executed like this: $ vendor/bin/phpunit --coverage-text --exclude-group internet
@clueclue added this to the v1.3.1 milestone Jul 10, 2020
clue added a commit to clue-labs/reactphp that referenced this pull request Jul 10, 2020
The build error on PHP 7.4 will be addressed via reactphp/dns#164. Interestingly, it fails in the `FunctionalResolverTest` class and does not fail anymore by excluding any other test file, e.g. `CoopExecutorTest`. It can only be reproduced by running: ``` $ vendor/bin/phpunit --coverage-text --exclude-group internet ``` It can not be reproduced when running on any other PHP version, when `ext-xdebug` is disabled, when coverage is not collected or when not excluding this group. This means the test failure is bogus. We work around this by temporarily skipping one test case for now.
clue added a commit to clue-labs/reactphp that referenced this pull request Jul 10, 2020
The build error on PHP 7.4 will be addressed via reactphp/dns#164. Interestingly, it fails in the `FunctionalResolverTest` class and does not fail anymore by excluding some other test cases. It can only be reproduced by running: ``` $ vendor/bin/phpunit --coverage-text --exclude-group internet ``` It can not be reproduced when running on any other PHP version, when `ext-xdebug` is disabled, when coverage is not collected or when not excluding this group. This means the test failure is bogus. We work around this by temporarily skipping some test case for now.
@clueclue requested a review from WyriHaximusJuly 22, 2020 08:00
@WyriHaximusWyriHaximus merged commit 8f85634 into reactphp:masterJul 22, 2020
@clueclue deleted the tests branch July 23, 2020 18:30
@clueclue modified the milestones: v1.3.1, v1.4.0Sep 7, 2020
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@clue@jsor@WyriHaximus