diff options
author | Tomek Mrugalski <tomasz@isc.org> | 2015-12-01 21:54:35 +0100 |
---|---|---|
committer | Tomek Mrugalski <tomasz@isc.org> | 2015-12-01 21:54:35 +0100 |
commit | 1e2e2274e1dab02ede59e8d13c79d27fa1556807 (patch) | |
tree | 696fba80cf5ba820a4e91fe9081dd42766b1a016 /src/lib/dhcpsrv/tests/dbaccess_parser_unittest.cc | |
parent | [3569_rebase] Removed unnecessary call. (diff) | |
download | kea-1e2e2274e1dab02ede59e8d13c79d27fa1556807.tar.xz kea-1e2e2274e1dab02ede59e8d13c79d27fa1556807.zip |
[3569_rebase] Schema clean-up before DbAccessParserTest.commitLeaseDb
Diffstat (limited to 'src/lib/dhcpsrv/tests/dbaccess_parser_unittest.cc')
-rw-r--r-- | src/lib/dhcpsrv/tests/dbaccess_parser_unittest.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/dhcpsrv/tests/dbaccess_parser_unittest.cc b/src/lib/dhcpsrv/tests/dbaccess_parser_unittest.cc index 71fcc6b012..7f64b6eba0 100644 --- a/src/lib/dhcpsrv/tests/dbaccess_parser_unittest.cc +++ b/src/lib/dhcpsrv/tests/dbaccess_parser_unittest.cc @@ -575,6 +575,9 @@ TEST_F(DbAccessParserTest, commitLeaseDb) { // depend this test on MYSQL availability. TEST_F(DbAccessParserTest, commitHostsDb) { + // Remove schema (if there are any leftovers from previous tests). + destroyMySQLSchema(); + // Verify that no lease database is open EXPECT_THROW({ LeaseMgr& manager = LeaseMgrFactory::instance(); |