Skip to content

Commit

Permalink
Disable EINTR test on macOS (#5146)
Browse files Browse the repository at this point in the history
The CI instances do not run with sufficiently consistent timing for this
to always pass.
  • Loading branch information
fhvwy authored Jan 11, 2022
1 parent ed47079 commit 3ca6e8b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion protocol/test/protocol_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,9 @@ TEST(ProtocolTest, ResetRingBufferFrame) {
// Test network calls ignoring EINTR.

// Not relevant on Windows, and we need pthread_kill() for the test.
#ifndef _WIN32
// This should run on macOS, but the CI instances do not run with
// sufficiently consistent timing for the test to always pass.
#if !defined(_WIN32) && !defined(__APPLE__)

typedef struct {
WhistSemaphore semaphore;
Expand Down

0 comments on commit 3ca6e8b

Please sign in to comment.