diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2020-11-10 20:50:53 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2020-11-10 20:50:53 +0300 |
commit | d6591501ac575ed77c5d7d425a1d98cbcfa192e2 (patch) | |
tree | 0e3c648cfa81d4f3bae63096b511d3fe2c8ec221 /test | |
parent | 50835ec11141a9a908040ef0fa7bf41da3aa453d (diff) |
again
Diffstat (limited to 'test')
-rw-r--r-- | test/tests/issue0009.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/test/tests/issue0009.cpp b/test/tests/issue0009.cpp index 4863ff5f..a3b7b8bd 100644 --- a/test/tests/issue0009.cpp +++ b/test/tests/issue0009.cpp @@ -75,7 +75,14 @@ static inline void TestIssue09a() auto end = std::chrono::steady_clock::now(); auto diff = std::chrono::duration_cast<std::chrono::milliseconds>(end - begin).count(); std::cout << "Closing a map_handle (file) with six, appended, very large reservations up to 2^40 took " << diff << "ms." << std::endl; - BOOST_CHECK(diff < 3000); + if(getenv("GITHUB_ACTIONS") != nullptr) + { + BOOST_CHECK(diff < 5000); + } + else + { + BOOST_CHECK(diff < 250); + } } static inline void TestIssue09b() |