From 7dae3c520e56097b822407739f805c0522cd0a79 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 3 Jan 2021 20:19:15 +0000 Subject: Run the thread test until stopped As opposed to bailing out at a magic number --- netfs/unittests/testEdgeCases.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++; } -- cgit v1.2.3