Skip to content

Commit

Permalink
arm timeout test
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroshade committed Apr 13, 2023
1 parent 1036429 commit 21039ff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cpp/src/arrow/flight/flight_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1023,7 +1023,11 @@ TEST_F(TestFlightClient, TimeoutFires) {
Status status = client->GetFlightInfo(options, FlightDescriptor{}).status();
auto end = std::chrono::system_clock::now();
#ifdef ARROW_WITH_TIMING_TESTS
#ifdef __APPLE__
EXPECT_LE(end - start, std::chrono::milliseconds{1000});
#else
EXPECT_LE(end - start, std::chrono::milliseconds{400});
#endif
#else
ARROW_UNUSED(end - start);
#endif
Expand Down

0 comments on commit 21039ff

Please sign in to comment.