| 32 | namespace mt = mir::test; |
| 33 | |
| 34 | TEST(ThreadPoolExecutor, executes_work) |
| 35 | { |
| 36 | auto const done = std::make_shared<mt::Signal>(); |
| 37 | mir::thread_pool_executor.spawn([done]() { done->raise(); }); |
| 38 | |
| 39 | EXPECT_TRUE(done->wait_for(60s)); |
| 40 | } |
| 41 | |
| 42 | TEST(ThreadPoolExecutor, can_execute_work_from_within_work_item) |
| 43 | { |