Преглед на файлове

Use a smaller thread pool size for improved test coverage.

Using a smaller size (default is 20) forces the tests to reuse threads
from the pool. This should improve test coverage of the thread pool code.
Sascha Zelzer преди 13 години
родител
ревизия
39fb966893
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      Plugins/org.commontk.eventadmin/Testing/Cpp/ctkEventAdminImplTestMain.cpp

+ 2 - 0
Plugins/org.commontk.eventadmin/Testing/Cpp/ctkEventAdminImplTestMain.cpp

@@ -63,6 +63,8 @@ int main(int argc, char** argv)
   fwProps.insert("pluginfw.testDir", testpluginDir);
   fwProps.insert("event.impl", "org.commontk.eventadmin");
 
+  fwProps.insert("org.commontk.eventadmin.ThreadPoolSize", 10);
+
   testRunner.init(fwProps);
   return testRunner.run(argc, argv);
 }