From d8896b1ee00e53a3e853d3f15d33f3bb8f562835 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 29 Dec 2017 20:41:24 +0000 Subject: Create a large thread pool when running core tests --- netfs/unittests/testCore.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/netfs/unittests/testCore.cpp b/netfs/unittests/testCore.cpp index a8431ff..acd3f91 100644 --- a/netfs/unittests/testCore.cpp +++ b/netfs/unittests/testCore.cpp @@ -34,9 +34,15 @@ class Core { public: Core(const std::string & daemonConfig = "defaultDaemon.xml", const std::string & fuseConfig = "defaultFuse.xml") : daemonHost(testEndpoint, { + "--Ice.ThreadPool.Client.Size=4", + "--Ice.ThreadPool.Client.SizeMax=20", + "--Ice.ThreadPool.Server.Size=5", + "--Ice.ThreadPool.Server.SizeMax=20", "--NetFSD.ConfigPath=" + (rootDir / daemonConfig).string() }), fuseHost(testEndpoint, { + "--Ice.ThreadPool.Client.Size=6", + "--Ice.ThreadPool.Client.SizeMax=20", (rootDir / fuseConfig).string() + ":testvol", (binDir / "test").string() }), -- cgit v1.2.3