summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2016-04-30 00:34:52 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2016-04-30 00:34:52 +0100
commite20513b0efc6ce2be92f6f03a90b85ebf740bc70 (patch)
treeeeb0e3f0913b8741c77b17a4caa0fef491b1dc1e
parentDon't terminate the SQL command with NULL, std::string doesn't require it (diff)
downloadicetray-e20513b0efc6ce2be92f6f03a90b85ebf740bc70.tar.bz2
icetray-e20513b0efc6ce2be92f6f03a90b85ebf740bc70.tar.xz
icetray-e20513b0efc6ce2be92f6f03a90b85ebf740bc70.zip
Fix connection in test
-rw-r--r--icetray/unittests/testDefaultPool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/icetray/unittests/testDefaultPool.cpp b/icetray/unittests/testDefaultPool.cpp
index 7dfa360..d615386 100644
--- a/icetray/unittests/testDefaultPool.cpp
+++ b/icetray/unittests/testDefaultPool.cpp
@@ -12,7 +12,7 @@
BOOST_AUTO_TEST_CASE( defaultPool )
{
auto p = Ice::createProperties();
- p->setProperty("testcase.Database.ConnectionString", "host=randomdan.homeip.net user=gentoo");
+ p->setProperty("testcase.Database.ConnectionString", "user=template1 user=postgres");
auto pool = IceTray::PoolProvider::createNew("DefaultPool", "testcase", "postgresql", p);
BOOST_REQUIRE(pool);
BOOST_REQUIRE_EQUAL(0, pool->inUseCount());