diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-10-07 16:01:59 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-10-07 16:01:59 +0200 |
commit | 082029f3dedadaceef1524fec214e053b0a26d10 (patch) | |
tree | ae0013258c3b889a51be084850970fb5ff8eda6d /tests/mailthreadtest.cpp | |
parent | e62f6ba8ec1c83196f78044b5dd905eeb80d4707 (diff) | |
download | sink-082029f3dedadaceef1524fec214e053b0a26d10.tar.gz sink-082029f3dedadaceef1524fec214e053b0a26d10.zip |
These jobs now work reliably.
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 | ||