From: Kyle Nekritz Date: Mon, 27 Feb 2017 23:00:11 +0000 (-0800) Subject: Move some tests out of FOLLY_ALLOW_TFO ifdef. X-Git-Tag: v2017.03.06.00~14 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=5e77af42356369df1ff15be32ec7b95c27d4f566;p=folly.git Move some tests out of FOLLY_ALLOW_TFO ifdef. Summary: I think this ended up encompassing more than intended. Reviewed By: yfeldblum, maxgeorg Differential Revision: D4622645 fbshipit-source-id: 26597098a479b85d6ecc64abef2ecc53637ee759 --- diff --git a/folly/io/async/test/AsyncSocketTest2.cpp b/folly/io/async/test/AsyncSocketTest2.cpp index bfde20c7..f5323151 100644 --- a/folly/io/async/test/AsyncSocketTest2.cpp +++ b/folly/io/async/test/AsyncSocketTest2.cpp @@ -2797,6 +2797,8 @@ TEST(AsyncSocketTest, ConnectTFOWithBigData) { EXPECT_EQ(socket->getTFOFinished(), socket->getTFOSucceded()); } +#endif // FOLLY_ALLOW_TFO + class MockEvbChangeCallback : public AsyncSocket::EvbChangeCallback { public: MOCK_METHOD1(evbAttached, void(AsyncSocket*)); @@ -2907,5 +2909,3 @@ TEST(AsyncSocketTest, ErrMessageCallback) { ASSERT_TRUE(errMsgCB.gotTimestamp_); } #endif // MSG_ERRQUEUE - -#endif