summaryrefslogtreecommitdiffhomepage
path: root/tests/test-whiteboard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-whiteboard.cpp')
-rw-r--r--tests/test-whiteboard.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test-whiteboard.cpp b/tests/test-whiteboard.cpp
index c55c87c..e1df17a 100644
--- a/tests/test-whiteboard.cpp
+++ b/tests/test-whiteboard.cpp
@@ -194,3 +194,9 @@ TEST_F(WhiteboardTest, websocket_server_generate_id)
ASSERT_NE(result0, result1);
}
+// check number of threads as configured
+TEST_F(WhiteboardTest, threads)
+{
+ ASSERT_GE(Process::number_of_threads(m_pid), 4);
+}
+