summaryrefslogtreecommitdiffstats
path: root/src/lib/database/tests
diff options
context:
space:
mode:
authorThomas Markwalder <tmark@isc.org>2019-08-13 22:31:11 +0200
committerThomas Markwalder <tmark@isc.org>2019-08-16 23:56:27 +0200
commit57177891886e99924d4eeaac8ef29891549cb60a (patch)
treeb889c3e1cfcb9bdf0fb2324fea0398b8207f55bf /src/lib/database/tests
parent[#805,!5-p] Updated the ARM (diff)
downloadkea-57177891886e99924d4eeaac8ef29891549cb60a.tar.xz
kea-57177891886e99924d4eeaac8ef29891549cb60a.zip
[#805,!5-p] Addressed review comments
Minor cleanup and commentary.
Diffstat (limited to 'src/lib/database/tests')
-rw-r--r--src/lib/database/tests/database_connection_unittest.cc3
-rw-r--r--src/lib/database/tests/dbaccess_parser_unittest.cc2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/database/tests/database_connection_unittest.cc b/src/lib/database/tests/database_connection_unittest.cc
index c644e7e139..68bc500998 100644
--- a/src/lib/database/tests/database_connection_unittest.cc
+++ b/src/lib/database/tests/database_connection_unittest.cc
@@ -277,7 +277,8 @@ TEST(DatabaseConnection, toElementDbAccessStringValid) {
"\"tcp-keepalive\": 101, \n"
"\"tcp-nodelay\": false, \n"
"\"type\": \"memfile\", \n"
- "\"user\": \"user_str\" \n"
+ "\"user\": \"user_str\", \n"
+ "\"max-row-errors\": 50 \n"
"}\n"
};
diff --git a/src/lib/database/tests/dbaccess_parser_unittest.cc b/src/lib/database/tests/dbaccess_parser_unittest.cc
index 6553209698..4894527ec8 100644
--- a/src/lib/database/tests/dbaccess_parser_unittest.cc
+++ b/src/lib/database/tests/dbaccess_parser_unittest.cc
@@ -507,7 +507,7 @@ TEST_F(DbAccessParserTest, negativeMaxRowErrors) {
}
// This test checks that the parser rejects a too large (greater than
-// the max uint32_t) value of the timeout parameter.
+// the max uint32_t) value of the max-row-errors parameter.
TEST_F(DbAccessParserTest, largeMaxRowErrors) {
const char* config[] = {"type", "memfile",
"name", "/opt/var/lib/kea/kea-leases6.csv",