summaryrefslogtreecommitdiff
path: root/tests/threadpool-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/threadpool-test.c')
-rw-r--r--tests/threadpool-test.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/threadpool-test.c b/tests/threadpool-test.c
index b5a517dbc..889fee9b9 100644
--- a/tests/threadpool-test.c
+++ b/tests/threadpool-test.c
@@ -405,6 +405,9 @@ test_check_start_and_stop (gpointer user_data)
test_thread_sort (TRUE);
break;
case 6:
+ test_thread_stop_unused ();
+ break;
+ case 7:
test_thread_idle_time ();
break;
default:
@@ -434,7 +437,7 @@ test_check_start_and_stop (gpointer user_data)
G_UNLOCK (thread_counter_sort);
}
- if (test_number == 6) {
+ if (test_number == 7) {
guint idle;
idle = g_thread_pool_get_num_unused_threads ();