diff options
Diffstat (limited to 'test/tests/mapped.cpp')
-rw-r--r-- | test/tests/mapped.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/tests/mapped.cpp b/test/tests/mapped.cpp index 4a3ca47b..69704714 100644 --- a/test/tests/mapped.cpp +++ b/test/tests/mapped.cpp @@ -102,11 +102,13 @@ static inline void TestMappedView2() BOOST_CHECK(v1.size() == 2 * 1024 * 1024 / sizeof(int)); BOOST_CHECK(v1[0] == 78); BOOST_CHECK(v1[9999] == 79); +#ifndef _WIN32 // Microsoft WSL hasn't implemented the shrinking of open maps yet if(utils::running_under_wsl()) { return; } +#endif mfh.truncate(1 * sizeof(int)).value(); BOOST_CHECK(mfh.address() != nullptr); v1 = map_view<int>(mfh); |