From 8eaa9657503eb2a7b58293111d2ec3c52c9a8942 Mon Sep 17 00:00:00 2001 From: Subodh Iyengar Date: Fri, 27 May 2016 10:36:48 -0700 Subject: [PATCH] Fix test for corking Summary: Min rto is now 50ms, so change the test accordingly Reviewed By: w-o-o Differential Revision: D3357140 fbshipit-source-id: 5a807fabc1a3c216a5120b8eb4930e5c1eb52b7a --- folly/io/async/test/AsyncSocketTest2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/folly/io/async/test/AsyncSocketTest2.cpp b/folly/io/async/test/AsyncSocketTest2.cpp index d7765445..4eecf3a6 100644 --- a/folly/io/async/test/AsyncSocketTest2.cpp +++ b/folly/io/async/test/AsyncSocketTest2.cpp @@ -1155,7 +1155,7 @@ TEST(AsyncSocketTest, WriteIOBufCorked) { write2.scheduleTimeout(100); WriteCallback wcb3; DelayedWrite write3(socket, std::move(buf3), &wcb3, false, true); - write3.scheduleTimeout(200); + write3.scheduleTimeout(140); evb.loop(); CHECK_EQ(ccb.state, STATE_SUCCEEDED); -- 2.34.1