Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix .Timeout() with mutexes (broken with maraino#10)
in maraino#10 we added a mutex around .Called(), but this causes an issue when the mock has .Timeout() set. Currently all callers to the mock are locked out for this timeout. As a simple fix, wait to do the sleep until after we have finished the method and unlocked the mutex.
- Loading branch information