diff options
Diffstat (limited to 'tests/mailthreadtest.cpp')
-rw-r--r-- | tests/mailthreadtest.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/mailthreadtest.cpp b/tests/mailthreadtest.cpp index 917e3e2..3684514 100644 --- a/tests/mailthreadtest.cpp +++ b/tests/mailthreadtest.cpp | |||
@@ -52,9 +52,7 @@ void MailThreadTest::initTestCase() | |||
52 | 52 | ||
53 | void MailThreadTest::cleanup() | 53 | void MailThreadTest::cleanup() |
54 | { | 54 | { |
55 | //TODO the shutdown job fails if the resource is already shut down | 55 | VERIFYEXEC(ResourceControl::shutdown(mResourceInstanceIdentifier)); |
56 | // VERIFYEXEC(ResourceControl::shutdown(mResourceInstanceIdentifier)); | ||
57 | ResourceControl::shutdown(mResourceInstanceIdentifier).exec().waitForFinished(); | ||
58 | removeResourceFromDisk(mResourceInstanceIdentifier); | 56 | removeResourceFromDisk(mResourceInstanceIdentifier); |
59 | } | 57 | } |
60 | 58 | ||