Add test::fail_count to experimental

This commit is contained in:
Vinnie Falco
2018-05-02 08:32:09 -07:00
parent 59f01a158b
commit e4c2ae6384
18 changed files with 208 additions and 149 deletions
+7 -7
View File
@@ -98,7 +98,7 @@ public:
testSuspend()
{
// suspend on write
doFailLoop([&](test::fail_counter& fc)
doFailLoop([&](test::fail_count& fc)
{
echo_server es{log};
boost::asio::io_context ioc;
@@ -131,7 +131,7 @@ public:
});
// suspend on close
doFailLoop([&](test::fail_counter& fc)
doFailLoop([&](test::fail_count& fc)
{
echo_server es{log};
boost::asio::io_context ioc;
@@ -163,7 +163,7 @@ public:
});
// suspend on read ping + message
doFailLoop([&](test::fail_counter& fc)
doFailLoop([&](test::fail_count& fc)
{
echo_server es{log};
boost::asio::io_context ioc;
@@ -204,7 +204,7 @@ public:
});
// suspend on read bad message
doFailLoop([&](test::fail_counter& fc)
doFailLoop([&](test::fail_count& fc)
{
echo_server es{log};
boost::asio::io_context ioc;
@@ -246,7 +246,7 @@ public:
});
// suspend on read close #1
doFailLoop([&](test::fail_counter& fc)
doFailLoop([&](test::fail_count& fc)
{
echo_server es{log};
boost::asio::io_context ioc;
@@ -287,7 +287,7 @@ public:
});
// suspend on read close #2
doFailLoop([&](test::fail_counter& fc)
doFailLoop([&](test::fail_count& fc)
{
echo_server es{log, kind::async};
boost::asio::io_context ioc;
@@ -327,7 +327,7 @@ public:
});
// don't ping on close
doFailLoop([&](test::fail_counter& fc)
doFailLoop([&](test::fail_count& fc)
{
echo_server es{log};
error_code ec;