summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/usr/util/test/threadpool.H3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/usr/util/test/threadpool.H b/src/usr/util/test/threadpool.H
index e8f41e9a3..7e474b2c3 100644
--- a/src/usr/util/test/threadpool.H
+++ b/src/usr/util/test/threadpool.H
@@ -31,6 +31,7 @@
#include <errl/errlmanager.H>
#include <util/util_reasoncodes.H>
#include <hbotcompid.H>
+#include <kernel/console.H>
// Thread pool constructor flags
#define DISABLE_CHILD_RC_CHECKING false
@@ -256,6 +257,7 @@ class ThreadPoolTest: public CxxTest::TestSuite
errlHndl_t l_errl = nullptr;
do {
+ printk("testChildRCCrashedTask: Expect to see uncaught exception\n");
l_threadPool.insert(new __ThreadPoolTest::CrashedTask());
l_threadPool.start();
l_errl = l_threadPool.shutdown();
@@ -300,6 +302,7 @@ class ThreadPoolTest: public CxxTest::TestSuite
l_threadPool(DISABLE_CHILD_RC_CHECKING);
errlHndl_t l_errl = nullptr;
+ printk("testChildNoRCCrashedTask: Expect to see uncaught exception\n");
l_threadPool.insert(new __ThreadPoolTest::CrashedTask());
l_threadPool.start();
l_errl = l_threadPool.shutdown();
OpenPOWER on IntegriCloud