diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-01-03 20:19:15 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-01-03 20:19:15 +0000 |
commit | 7dae3c520e56097b822407739f805c0522cd0a79 (patch) | |
tree | 84a2e1d4dc8f098aca845db824761b2701afb8d3 | |
parent | Fixup memory leaks and race conditions in testFuse (diff) | |
download | netfs-7dae3c520e56097b822407739f805c0522cd0a79.tar.bz2 netfs-7dae3c520e56097b822407739f805c0522cd0a79.tar.xz netfs-7dae3c520e56097b822407739f805c0522cd0a79.zip |
Run the thread test until stopped
As opposed to bailing out at a magic number
-rw-r--r-- | netfs/unittests/testEdgeCases.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netfs/unittests/testEdgeCases.cpp b/netfs/unittests/testEdgeCases.cpp index 28e0f4c..17dd706 100644 --- a/netfs/unittests/testEdgeCases.cpp +++ b/netfs/unittests/testEdgeCases.cpp @@ -97,7 +97,7 @@ BOOST_AUTO_TEST_CASE(manyThreads) ths.emplace_back([&] { struct statvfs s { }; - while (running && success < 1600) { + while (running) { if (fuse.fuse->statfs("/", &s) == 0) { success++; } |