Welcome to mirror list, hosted at ThFree Co, Russian Federation.

async_io_torture_test.cpp « tests « test « attic - github.com/windirstat/llfio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4d3d6a7d04a0b8f63d8d51054dc96d455297003e (plain)
1
2
3
4
5
6
7
8
9
10
#include "test_functions.hpp"

BOOST_AFIO_AUTO_TEST_CASE(async_io_torture, "Tortures the async i/o implementation", 120)
{
    using namespace BOOST_AFIO_V2_NAMESPACE;
    namespace asio = BOOST_AFIO_V2_NAMESPACE::asio;
    auto dispatcher = make_dispatcher("file:///", file_flags::none).get();
    std::cout << "\n\nSustained random i/o to 10 files of 10Mb:\n";
    evil_random_io(dispatcher, 10, 10 * 1024 * 1024);
}