diff UnitTestsSources/MultiThreadingTests.cpp @ 2815:925d8dc03a23

unserialization of jobs from plugins
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 11 Sep 2018 16:34:21 +0200
parents ea7aea6f6a95
children ff0ed5ea9e4e
line wrap: on
line diff
--- a/UnitTestsSources/MultiThreadingTests.cpp	Fri Sep 07 10:09:17 2018 +0200
+++ b/UnitTestsSources/MultiThreadingTests.cpp	Tue Sep 11 16:34:21 2018 +0200
@@ -1204,8 +1204,8 @@
     OrthancJobsSerialization()
     {
       db_.Open();
-      context_.reset(new ServerContext(db_, storage_, true /* running unit tests */,
-                                       false /* don't reload jobs */));
+      context_.reset(new ServerContext(db_, storage_, true /* running unit tests */));
+      context_->SetupJobsEngine(true, false);
     }
 
     virtual ~OrthancJobsSerialization()