Skip to content

Commit

Permalink
GH CI for macos arm64 slow, make rpc passive shutdown test allows don…
Browse files Browse the repository at this point in the history
…e in 3.5secs.
  • Loading branch information
Coldwings committed Jul 10, 2024
1 parent a78ebc2 commit b07d10a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rpc/test/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,8 @@ TEST_F(RpcTest, passive_shutdown) {

// The passive shutdown took 3 seconds, until client closed the connection
GTEST_ASSERT_GT(duration, 2900);
GTEST_ASSERT_LT(duration, 3200);
// Since GH macos arm CI is slow, we allow 3.5 secs
GTEST_ASSERT_LT(duration, 3500);
}

int main(int argc, char** arg)
Expand Down

0 comments on commit b07d10a

Please sign in to comment.