Browse Source

[2205] tried to improve what() message of some test exceptions

JINMEI Tatuya 12 years ago
parent
commit
59ca623275
1 changed files with 4 additions and 2 deletions
  1. 4 2
      src/bin/auth/tests/test_datasrc_clients_mgr.h

+ 4 - 2
src/bin/auth/tests/test_datasrc_clients_mgr.h

@@ -172,9 +172,11 @@ public:
         case FakeDataSrcClientsBuilder::NOTHROW:
             break;
         case FakeDataSrcClientsBuilder::THROW_UNCAUGHT_EX:
-            isc_throw(util::thread::Thread::UncaughtException, "for test");
+            isc_throw(util::thread::Thread::UncaughtException,
+                      "TestThread wait() saw an exception");
         case FakeDataSrcClientsBuilder::THROW_OTHER:
-            isc_throw(Unexpected, "for test");
+            isc_throw(Unexpected,
+                      "General emulated failure in TestThread wait()");
         }
     }
 };