Skip to content

Conversation

@clue
Copy link
Member

@clueclue commented Feb 4, 2019

Builds on top of #120 and clue/socket-raw#42

The signal constants are only available when ext-pcntl is loaded. If it is not loaded, simply skip all tests that reference these constants. Before running a timer test and asserting its time interval, run a simple test to check the accuracy on the current platform. This is known to work on most common platforms, but will now avoid false negative test results on platforms that are known to be slow (Travis CI and others).
@clueclue added this to the v1.1.0 milestone Feb 4, 2019
@WyriHaximusWyriHaximus requested a review from jsorFebruary 4, 2019 13:14
jsor
jsor approved these changes Feb 4, 2019
@jsorjsor merged commit 7016d65 into reactphp:masterFeb 4, 2019
@clueclue deleted the tests branch February 4, 2019 17:11
Sign up for freeto 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

@clue@jsor@WyriHaximus