diff --git a/src/test/bin/quic_gtest.cpp b/src/test/bin/quic_gtest.cpp index ce904d75e1..ffb97c9f50 100644 --- a/src/test/bin/quic_gtest.cpp +++ b/src/test/bin/quic_gtest.cpp @@ -2202,6 +2202,7 @@ TEST(Misc, StreamReliableResetMultipleSends) { } #endif // QUIC_PARAM_STREAM_RELIABLE_OFFSET +#ifdef QUIC_API_ENABLE_PREVIEW_FEATURES TEST(Misc, StreamMultiReceive) { TestLogger Logger("StreamMultiReceive"); if (TestingKernelMode) { @@ -2211,6 +2212,7 @@ TEST(Misc, StreamMultiReceive) { QuicTestStreamMultiReceive(); } } +#endif // QUIC_API_ENABLE_PREVIEW_FEATURES TEST(Misc, StreamBlockUnblockUnidiConnFlowControl) { TestLogger Logger("StreamBlockUnblockUnidiConnFlowControl"); diff --git a/src/test/lib/DataTest.cpp b/src/test/lib/DataTest.cpp index 00a2fab6fa..95476349fb 100644 --- a/src/test/lib/DataTest.cpp +++ b/src/test/lib/DataTest.cpp @@ -4251,6 +4251,7 @@ QuicTestStreamReliableResetMultipleSends( } #endif // QUIC_PARAM_STREAM_RELIABLE_OFFSET +#ifdef QUIC_API_ENABLE_PREVIEW_FEATURES #define MultiRecvNumSend 10 // 1G seems to be too big for CI environment to finish in a reasonable time. uint8_t Buffer10M[10000000] = {}; @@ -4467,3 +4468,4 @@ QuicTestStreamMultiReceive( delete[] Context.RecvBuffer; } } +#endif // QUIC_API_ENABLE_PREVIEW_FEATURES