Daily Archives: July 12, 2013

Threads and unit tests in Ceph

To assert that a tested method calls Cond::Wait it is run in a separate Thread. The calling googletest function uses the same Mutex to assert that the child thread is waiting as expected. For instance, the SharedPtrRegistry::lookup method will Cond::Wait … Continue reading

Posted in ceph | Leave a comment