Commit dd5bb156 authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

[2202] More detail in TODO comment

parent 93649856
......@@ -1802,7 +1802,9 @@ TEST_F(AuthSrvTest, clientList) {
// We just test the mutex can be locked (exactly once).
TEST_F(AuthSrvTest, mutex) {
isc::util::thread::Mutex::Locker l1(server.getClientListMutex());
// TODO: Once we have non-debug build, this one will not work.
// TODO: Once we have non-debug build, this one will not work, since
// we currently use the fact that we can't lock twice from the same
// thread. In the non-debug mode, this would deadlock.
// Skip then.
EXPECT_THROW({
isc::util::thread::Mutex::Locker l2(server.getClientListMutex());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment