Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
b9b76bd7
Commit
b9b76bd7
authored
Jul 23, 2017
by
Josh Soref
Browse files
spelling: lease
parent
1c11335e
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/bin/dhcp4/tests/fqdn_unittest.cc
View file @
b9b76bd7
...
...
@@ -1459,7 +1459,7 @@ TEST_F(NameDhcpv4SrvTest, hostnameReservationNoDNSQualifyingSuffix) {
// Test verifies that the server properly generates a FQDN when the client
// FQDN name is blank, whether or not DDNS updates are enabled. It also
// verifies that the lease is only in the database following a DHCPREQUEST and
// that the le
s
ae contains the generated FQDN.
// that the lea
s
e contains the generated FQDN.
TEST_F
(
NameDhcpv4SrvTest
,
emptyFqdn
)
{
Dhcp4Client
client
(
Dhcp4Client
::
SELECTING
);
isc
::
asiolink
::
IOAddress
expected_address
(
"10.0.0.10"
);
...
...
src/bin/lfc/lfc_controller.h
View file @
b9b76bd7
...
...
@@ -99,7 +99,7 @@ public:
/// @name Accessor methods mainly used for testing purposes
//@{
/// @brief Gets the protocol version of the leaes files
/// @brief Gets the protocol version of the lea
s
es files
///
/// @return Returns the value of the DHCP protocol version.
/// This can be 4 or 6 while in use and 0 before parsing
...
...
src/bin/lfc/tests/lfc_controller_unittests.cc
View file @
b9b76bd7
...
...
@@ -485,7 +485,7 @@ TEST_F(LFCControllerTest, launch4) {
// Run the cleanup
launch
(
lfc_controller
,
argc
,
argv
);
// Compare the results, we expect a header and no leaes.
// Compare the results, we expect a header and no lea
s
es.
// We also verify none of the temp or pid files remain.
test_str
=
v4_hdr_
;
EXPECT_EQ
(
readFile
(
xstr_
),
test_str
);
...
...
src/lib/dhcpsrv/tests/alloc_engine_expiration_unittest.cc
View file @
b9b76bd7
...
...
@@ -654,7 +654,7 @@ public:
/// of reclaimed leases.
void
testReclaimExpiredLeasesLimit
()
{
for
(
unsigned
int
i
=
0
;
i
<
TEST_LEASES_NUM
;
++
i
)
{
// Mark all leaes as expired. The higher the index the less
// Mark all lea
s
es as expired. The higher the index the less
// expired the lease.
expire
(
i
,
1000
-
i
);
}
...
...
@@ -1349,7 +1349,7 @@ ExpirationAllocEngine6Test::testReclaimExpiredLeasesStats() {
BOOST_STATIC_ASSERT
(
TEST_LEASES_NUM
%
2
==
0
);
for
(
unsigned
int
i
=
0
;
i
<
TEST_LEASES_NUM
;
++
i
)
{
// Mark all leaes as expired. The higher the index the less
// Mark all lea
s
es as expired. The higher the index the less
// expired the lease.
expire
(
i
,
1000
-
i
);
// Modify subnet ids and lease types for some leases.
...
...
@@ -2001,7 +2001,7 @@ ExpirationAllocEngine4Test::testReclaimExpiredLeasesStats() {
BOOST_STATIC_ASSERT
(
TEST_LEASES_NUM
%
2
==
0
);
for
(
unsigned
int
i
=
0
;
i
<
TEST_LEASES_NUM
;
++
i
)
{
// Mark all leaes as expired. The higher the index the less
// Mark all lea
s
es as expired. The higher the index the less
// expired the lease.
expire
(
i
,
1000
-
i
);
// Modify subnet ids of some leases.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment