mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-12 14:29:42 -05:00
Revert concurrent job manager unit tests to use old ThreadPool
This commit is contained in:
@@ -68,7 +68,7 @@ private:
|
||||
|
||||
|
||||
TEST_F(ConcurrentJobManagerTest, Basic) {
|
||||
std::shared_ptr<ghoul::ThreadPool> pool = std::make_shared<ghoul::ThreadPool>(1);
|
||||
std::shared_ptr<ThreadPool> pool = std::make_shared<ThreadPool>(1);
|
||||
|
||||
ConcurrentJobManager<int> jobManager(pool);
|
||||
|
||||
@@ -147,7 +147,7 @@ struct VerboseJob : public Job<VerboseProduct>{
|
||||
|
||||
|
||||
TEST_F(ConcurrentJobManagerTest, JobCreation) {
|
||||
std::shared_ptr<ghoul::ThreadPool> pool = std::make_shared<ghoul::ThreadPool>(1);
|
||||
std::shared_ptr<ThreadPool> pool = std::make_shared<ThreadPool>(1);
|
||||
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(1000));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user