Skip to content

Commit

Permalink
Refs #20972. Remove s_minimumSocketBuffer from tests.
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
  • Loading branch information
MiguelCompany authored and EduPonz committed May 17, 2024
1 parent e1606ac commit 9b71c83
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/unittest/transport/TCPv4Tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1402,7 +1402,7 @@ TEST_F(TCPv4Tests, secure_non_blocking_send)
eprosima::fastdds::dds::Log::SetVerbosity(eprosima::fastdds::dds::Log::Kind::Info);

uint16_t port = g_default_port;
uint32_t msg_size = eprosima::fastdds::rtps::s_minimumSocketBuffer;
uint32_t msg_size = 64ul * 1024ul;
// Create a TCP Server transport
using TLSOptions = TCPTransportDescriptor::TLSConfig::TLSOptions;
using TLSVerifyMode = TCPTransportDescriptor::TLSConfig::TLSVerifyMode;
Expand Down Expand Up @@ -1961,7 +1961,7 @@ TEST_F(TCPv4Tests, client_announced_local_port_uniqueness)
TEST_F(TCPv4Tests, non_blocking_send)
{
uint16_t port = g_default_port;
uint32_t msg_size = eprosima::fastdds::rtps::s_minimumSocketBuffer;
uint32_t msg_size = 64ul * 1024ul;
// Create a TCP Server transport
TCPv4TransportDescriptor senderDescriptor;
senderDescriptor.add_listener_port(port);
Expand Down
2 changes: 1 addition & 1 deletion test/unittest/transport/TCPv6Tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ TEST_F(TCPv6Tests, client_announced_local_port_uniqueness)
TEST_F(TCPv6Tests, non_blocking_send)
{
uint16_t port = g_default_port;
uint32_t msg_size = eprosima::fastdds::rtps::s_minimumSocketBuffer;
uint32_t msg_size = 64ul * 1024ul;
// Create a TCP Server transport
TCPv6TransportDescriptor senderDescriptor;
senderDescriptor.add_listener_port(port);
Expand Down

0 comments on commit 9b71c83

Please sign in to comment.