Skip to content

Commit

Permalink
added exit_code timeout.
Browse files Browse the repository at this point in the history
  • Loading branch information
klemens-morgenstern committed Jul 2, 2024
1 parent aea22db commit c2da58e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/v1/exit_code.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ typedef boost::asio::posix::stream_descriptor pipe_end;

namespace bp = boost::process;

BOOST_AUTO_TEST_CASE(sync_wait)
BOOST_AUTO_TEST_CASE(sync_wait, *boost::unit_test::timeout(10))
{
using boost::unit_test::framework::master_test_suite;

Expand All @@ -48,7 +48,7 @@ BOOST_AUTO_TEST_CASE(sync_wait)
c.wait();
}

BOOST_AUTO_TEST_CASE(sync_wait_abort)
BOOST_AUTO_TEST_CASE(sync_wait_abort, *boost::unit_test::timeout(10))
{
using boost::unit_test::framework::master_test_suite;

Expand Down Expand Up @@ -103,7 +103,7 @@ struct wait_handler
};
#endif

BOOST_AUTO_TEST_CASE(async_wait)
BOOST_AUTO_TEST_CASE(async_wait, *boost::unit_test::timeout(10))
{
using boost::unit_test::framework::master_test_suite;
using namespace boost::asio;
Expand Down Expand Up @@ -138,7 +138,7 @@ BOOST_AUTO_TEST_CASE(async_wait)



BOOST_AUTO_TEST_CASE(async_nowait)
BOOST_AUTO_TEST_CASE(async_nowait, *boost::unit_test::timeout(10))
{
// No need to call wait when passing an io_context
using boost::unit_test::framework::master_test_suite;
Expand Down

0 comments on commit c2da58e

Please sign in to comment.