briandunn / flatware

A parallel test runner for RSpec and Cucumber with pretty output
MIT License
275 stars 35 forks source link

Do not crash on EINTR #52

Closed jhottenstein closed 5 years ago

jhottenstein commented 5 years ago

This resolves the test (and runtime) failures for flatware under ruby 2.6.

Looking at other uses of zeromq (https://github.com/zeromq/erlzmq2/pull/67, https://grokbase.com/t/zeromq/zeromq-dev/1416wsc26h/zmq-poll-error#20140106y31s5ps9j4s9gpyqc67wnhpsgr), it seems like the best way to handle an EINTR is to continue polling.

Resolves #51 Related to #44