Skip to content

Commit

Permalink
wrap by preview feature (#4441)
Browse files Browse the repository at this point in the history
  • Loading branch information
ami-GS authored Aug 7, 2024
1 parent caba7bb commit 59ce86f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test/bin/quic_gtest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -2211,6 +2212,7 @@ TEST(Misc, StreamMultiReceive) {
QuicTestStreamMultiReceive();
}
}
#endif // QUIC_API_ENABLE_PREVIEW_FEATURES

TEST(Misc, StreamBlockUnblockUnidiConnFlowControl) {
TestLogger Logger("StreamBlockUnblockUnidiConnFlowControl");
Expand Down
2 changes: 2 additions & 0 deletions src/test/lib/DataTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4265,6 +4265,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] = {};
Expand Down Expand Up @@ -4481,3 +4482,4 @@ QuicTestStreamMultiReceive(
delete[] Context.RecvBuffer;
}
}
#endif // QUIC_API_ENABLE_PREVIEW_FEATURES

0 comments on commit 59ce86f

Please sign in to comment.