summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdbpp/unittests/testConnectionPool.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/libdbpp/unittests/testConnectionPool.cpp b/libdbpp/unittests/testConnectionPool.cpp
index 7ef6586..5ad0121 100644
--- a/libdbpp/unittests/testConnectionPool.cpp
+++ b/libdbpp/unittests/testConnectionPool.cpp
@@ -31,9 +31,13 @@ BOOST_AUTO_TEST_CASE(basic)
}
{
auto c1 = pool.get();
+ BOOST_REQUIRE(c1);
auto c2 = pool.get();
+ BOOST_REQUIRE(c2);
auto c3 = pool.get();
+ BOOST_REQUIRE(c3);
auto c4 = pool.get();
+ BOOST_REQUIRE(c4);
BOOST_REQUIRE_EQUAL(4, pool.inUseCount());
}
BOOST_REQUIRE_EQUAL(0, pool.inUseCount());