diff options
| author | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-12-29 20:41:24 +0000 | 
|---|---|---|
| committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-12-29 20:41:24 +0000 | 
| commit | d8896b1ee00e53a3e853d3f15d33f3bb8f562835 (patch) | |
| tree | c8da29b38fca34c46a80e29a67b7b9be2ca566ac | |
| parent | Pass initialization params into the mock daemon's communicator (diff) | |
| download | netfs-d8896b1ee00e53a3e853d3f15d33f3bb8f562835.tar.bz2 netfs-d8896b1ee00e53a3e853d3f15d33f3bb8f562835.tar.xz netfs-d8896b1ee00e53a3e853d3f15d33f3bb8f562835.zip  | |
Create a large thread pool when running core tests
| -rw-r--r-- | netfs/unittests/testCore.cpp | 6 | 
1 files changed, 6 insertions, 0 deletions
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()  				}),  | 
