Skip to content

Commit

Permalink
Disable overlapping async ops tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pwojcikdev committed Nov 22, 2024
1 parent 6cb2dd7 commit d0e2baf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions nano/core_test/socket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,8 @@ TEST (socket_timeout, write)
ASSERT_FALSE (socket->alive ());
}

TEST (socket_timeout, read_overlapped)
// FIXME: This is using the socket in a wrong way, overlapping async ops are not allowed
TEST (socket_timeout, DISABLED_read_overlapped)
{
// create one node and set timeout to 1 second
nano::test::system system (1);
Expand Down Expand Up @@ -542,7 +543,8 @@ TEST (socket_timeout, read_overlapped)
ASSERT_EQ (1, node->stats.count (nano::stat::type::tcp, nano::stat::detail::tcp_io_timeout_drop, nano::stat::dir::out));
}

TEST (socket_timeout, write_overlapped)
// FIXME: This is using the socket in a wrong way, overlapping async ops are not allowed
TEST (socket_timeout, DISABLED_write_overlapped)
{
std::atomic<bool> done = false;
std::atomic<boost::system::error_code> ec;
Expand Down

0 comments on commit d0e2baf

Please sign in to comment.