Revert concurrent job manager unit tests to use old ThreadPool

This commit is contained in:
Erik Broberg
2016-08-18 12:21:02 -04:00
parent d4f635513d
commit 5d21878ead
+2 -2
View File
@@ -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));