on xenial help sign in
Check thread count at end of test
commit4280b6eab9d10f1bc99f12583f666d6fa841bb94 authorMichael Terry <michael.terry@canonical.com> dateWed 11 Mar 2015, 12:01 (12 years ago) parentdfa85e6
1 file changed+1
tests/plugins/LightDM/pam.cpp+1
tests/plugins/LightDM/pam.cpp+1
@@ -32,6 +32,7 @@ private Q_SLOTS:
3232 void cleanup()
3333 {
3434 delete m_greeterpriv;
35+ QTRY_COMPARE(QThreadPool::globalInstance()->activeThreadCount(), 0);
3536 }
3637
3738 void testRapidFireAuthentication()