Skip to content

Conversation

@clue
Copy link
Member

@clue clue commented Dec 28, 2017

This simple PR improves the test suite to use less fragile assumptions for the timer tests and avoids related warnings about "risky" tests by PHPUnit.

The old test suite works fine on Travis, but reports these "risky" tests. For some reason, the test suite failed on my local machine when using ext-event, despite using same PHP version, same PECL version and same composer packages as seen on Travis: https://gist.github.com/clue/8216c7494769d31dd0c6279a0a27ed7b

The updated test suite avoids blocking the loop and thus makes these tests less fragile.

Builds on top of #138 and #120

Copy link
Member

@WyriHaximus WyriHaximus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :shipit:

@jsor jsor merged commit f696392 into reactphp:master Dec 31, 2017
@clue clue deleted the fragile branch January 1, 2018 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants