comparison UnitTestsSources/MultiThreadingTests.cpp @ 2671:06c0a6b8a871 jobs

new command-line argument: --no-jobs
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 11 Jun 2018 09:20:04 +0200
parents 5fa2f2ce74f0
children 73bc0c32547c
comparison
equal deleted inserted replaced
2670:c5646f766b3e 2671:06c0a6b8a871
1182 1182
1183 public: 1183 public:
1184 OrthancJobsSerialization() 1184 OrthancJobsSerialization()
1185 { 1185 {
1186 db_.Open(); 1186 db_.Open();
1187 context_.reset(new ServerContext(db_, storage_, true /* running unit tests */)); 1187 context_.reset(new ServerContext(db_, storage_, true /* running unit tests */,
1188 false /* don't reload jobs */));
1188 } 1189 }
1189 1190
1190 virtual ~OrthancJobsSerialization() 1191 virtual ~OrthancJobsSerialization()
1191 { 1192 {
1192 context_->Stop(); 1193 context_->Stop();