diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2018-12-12 14:31:38 +0100 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2018-12-13 09:37:23 +0100 |
commit | c84c2b8c92eb56b3b3793fc95265158f5eeb00db (patch) | |
tree | 38a2fd3c0b2c44f4d68bb7c7e41609207f701a10 /src/test/checkqueue_tests.cpp | |
parent | 6d0a14703e288d72ff19d4d89defbc853233899f (diff) |
tests: Test for expected return values when calling functions returning a success code
Diffstat (limited to 'src/test/checkqueue_tests.cpp')
-rw-r--r-- | src/test/checkqueue_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/checkqueue_tests.cpp b/src/test/checkqueue_tests.cpp index a757e06a9d..978accf3fe 100644 --- a/src/test/checkqueue_tests.cpp +++ b/src/test/checkqueue_tests.cpp @@ -355,7 +355,7 @@ BOOST_AUTO_TEST_CASE(test_CheckQueue_FrozenCleanup) // would get called twice). vChecks[0].should_freeze = true; control.Add(vChecks); - control.Wait(); // Hangs here + BOOST_CHECK(control.Wait()); // Hangs here }); { std::unique_lock<std::mutex> l(FrozenCleanupCheck::m); |