From c7949485a74a1d1656f8c33ec8732d4b6d25f919 Mon Sep 17 00:00:00 2001 From: Razvan Becheriu Date: Wed, 5 Feb 2020 22:59:09 +0200 Subject: [PATCH] [#1074] minor changes --- src/lib/dhcpsrv/tests/cql_lease_mgr_unittest.cc | 6 +++--- src/lib/dhcpsrv/tests/mysql_lease_mgr_unittest.cc | 10 +++++----- src/lib/dhcpsrv/tests/pgsql_lease_mgr_unittest.cc | 10 +++++----- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/lib/dhcpsrv/tests/cql_lease_mgr_unittest.cc b/src/lib/dhcpsrv/tests/cql_lease_mgr_unittest.cc index 19f31d00bc..75ff6c083b 100644 --- a/src/lib/dhcpsrv/tests/cql_lease_mgr_unittest.cc +++ b/src/lib/dhcpsrv/tests/cql_lease_mgr_unittest.cc @@ -341,8 +341,8 @@ TEST(CqlOpenTest, OpenDatabase) { // Schema needs to be created for the test to work. createCqlSchema(); - // Check that lease manager open the database opens correctly and tidy up. - // If it fails, print the error message. + // Check that lease manager opens the database correctly and tidy up. If it + // fails, print the error message. try { LeaseMgrFactory::create(validCqlConnectionString()); EXPECT_NO_THROW((void)LeaseMgrFactory::instance()); @@ -354,7 +354,7 @@ TEST(CqlOpenTest, OpenDatabase) { << "*** before the CQL tests will run correctly.\n"; } - // Check that lease manager open the database opens correctly with a longer + // Check that lease manager opens the database correctly with a longer // timeout. If it fails, print the error message. try { // CQL specifies the timeout values in ms, not seconds. Therefore diff --git a/src/lib/dhcpsrv/tests/mysql_lease_mgr_unittest.cc b/src/lib/dhcpsrv/tests/mysql_lease_mgr_unittest.cc index 53ba8f4110..8481a87737 100644 --- a/src/lib/dhcpsrv/tests/mysql_lease_mgr_unittest.cc +++ b/src/lib/dhcpsrv/tests/mysql_lease_mgr_unittest.cc @@ -117,8 +117,8 @@ TEST(MySqlOpenTest, OpenDatabase) { // Schema needs to be created for the test to work. createMySQLSchema(true); - // Check that lease manager open the database opens correctly and tidy up. - // If it fails, print the error message. + // Check that lease manager opens the database correctly and tidy up. If it + // fails, print the error message. try { LeaseMgrFactory::create(validMySQLConnectionString()); EXPECT_NO_THROW((void)LeaseMgrFactory::instance()); @@ -130,7 +130,7 @@ TEST(MySqlOpenTest, OpenDatabase) { << "*** before the MySQL tests will run correctly.\n"; } - // Check that lease manager open the database opens correctly with a longer + // Check that lease manager opens the database correctly with a longer // timeout. If it fails, print the error message. try { string connection_string = validMySQLConnectionString() + string(" ") + @@ -210,8 +210,8 @@ TEST(MySqlOpenTest, OpenDatabaseMultiThreading) { // Schema needs to be created for the test to work. createMySQLSchema(true); - // Check that lease manager open the database opens correctly and tidy up. - // If it fails, print the error message. + // Check that lease manager opens the database correctly and tidy up. If it + // fails, print the error message. try { LeaseMgrFactory::create(validMySQLConnectionString()); EXPECT_NO_THROW((void)LeaseMgrFactory::instance()); diff --git a/src/lib/dhcpsrv/tests/pgsql_lease_mgr_unittest.cc b/src/lib/dhcpsrv/tests/pgsql_lease_mgr_unittest.cc index d5222ace7c..c4f449e8a4 100644 --- a/src/lib/dhcpsrv/tests/pgsql_lease_mgr_unittest.cc +++ b/src/lib/dhcpsrv/tests/pgsql_lease_mgr_unittest.cc @@ -117,8 +117,8 @@ TEST(PgSqlOpenTest, OpenDatabase) { // Schema needs to be created for the test to work. createPgSQLSchema(); - // Check that lease manager open the database opens correctly and tidy up. - // If it fails, print the error message. + // Check that lease manager opens the database correctly and tidy up. If it + // fails, print the error message. try { LeaseMgrFactory::create(validPgSQLConnectionString()); EXPECT_NO_THROW((void)LeaseMgrFactory::instance()); @@ -130,7 +130,7 @@ TEST(PgSqlOpenTest, OpenDatabase) { << "*** before the PostgreSQL tests will run correctly.\n"; } - // Check that lease manager open the database opens correctly with a longer + // Check that lease manager opens the database correctly with a longer // timeout. If it fails, print the error message. try { string connection_string = validPgSQLConnectionString() + string(" ") + @@ -207,8 +207,8 @@ TEST(PgSqlOpenTest, OpenDatabaseMultiThreading) { // Schema needs to be created for the test to work. createPgSQLSchema(); - // Check that lease manager open the database opens correctly and tidy up. - // If it fails, print the error message. + // Check that lease manager opens the database correctly and tidy up. If it + // fails, print the error message. try { LeaseMgrFactory::create(validPgSQLConnectionString()); EXPECT_NO_THROW((void)LeaseMgrFactory::instance());