Thanks to visit codestin.com
Credit goes to github.com

Skip to content

StreamSelectLoopTest runs forever on Mac OS X #162

@nawarian

Description

@nawarian

Before attempting a refactor proposition at the StreamSelectLoop class I was running unit tests, and found out that they run forever.

My first guess is that testTimerIntervalCanBeFarInFuture got a deadlock with the socket pair. As the test says about creating a tick far in the future I see no reason to use I/O for it anyways.

This PR here removes the I/O dependency and relies only at the futureTick implementation.

I'm running a MacOS system and php 7.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions