Merge "Logger: Print timestamps used for solve for more debug info"
diff --git a/aos/mutex/mutex_test.cc b/aos/mutex/mutex_test.cc
index 54e9201..8d10b26 100644
--- a/aos/mutex/mutex_test.cc
+++ b/aos/mutex/mutex_test.cc
@@ -241,10 +241,11 @@
static_cast<Mutex *>(shm_malloc_aligned(sizeof(Mutex), alignof(Mutex)));
new (mutex) Mutex();
- std::thread thread([&]() { ASSERT_FALSE(mutex->Lock()); });
- thread.join();
EXPECT_DEATH(
{
+ std::thread thread([&]() { ASSERT_FALSE(mutex->Lock()); });
+ thread.join();
+
logging::SetImplementation(
std::make_shared<util::DeathTestLogImplementation>());
MutexLocker locker(mutex);