Commit b9b76bd7 authored by Josh Soref's avatar Josh Soref
Browse files

spelling: lease

parent 1c11335e
...@@ -1459,7 +1459,7 @@ TEST_F(NameDhcpv4SrvTest, hostnameReservationNoDNSQualifyingSuffix) { ...@@ -1459,7 +1459,7 @@ TEST_F(NameDhcpv4SrvTest, hostnameReservationNoDNSQualifyingSuffix) {
// Test verifies that the server properly generates a FQDN when the client // 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 // 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 // verifies that the lease is only in the database following a DHCPREQUEST and
// that the lesae contains the generated FQDN. // that the lease contains the generated FQDN.
TEST_F(NameDhcpv4SrvTest, emptyFqdn) { TEST_F(NameDhcpv4SrvTest, emptyFqdn) {
Dhcp4Client client(Dhcp4Client::SELECTING); Dhcp4Client client(Dhcp4Client::SELECTING);
isc::asiolink::IOAddress expected_address("10.0.0.10"); isc::asiolink::IOAddress expected_address("10.0.0.10");
......
...@@ -99,7 +99,7 @@ public: ...@@ -99,7 +99,7 @@ public:
/// @name Accessor methods mainly used for testing purposes /// @name Accessor methods mainly used for testing purposes
//@{ //@{
/// @brief Gets the protocol version of the leaes files /// @brief Gets the protocol version of the leases files
/// ///
/// @return Returns the value of the DHCP protocol version. /// @return Returns the value of the DHCP protocol version.
/// This can be 4 or 6 while in use and 0 before parsing /// This can be 4 or 6 while in use and 0 before parsing
......
...@@ -485,7 +485,7 @@ TEST_F(LFCControllerTest, launch4) { ...@@ -485,7 +485,7 @@ TEST_F(LFCControllerTest, launch4) {
// Run the cleanup // Run the cleanup
launch(lfc_controller, argc, argv); launch(lfc_controller, argc, argv);
// Compare the results, we expect a header and no leaes. // Compare the results, we expect a header and no leases.
// We also verify none of the temp or pid files remain. // We also verify none of the temp or pid files remain.
test_str = v4_hdr_; test_str = v4_hdr_;
EXPECT_EQ(readFile(xstr_), test_str); EXPECT_EQ(readFile(xstr_), test_str);
......
...@@ -654,7 +654,7 @@ public: ...@@ -654,7 +654,7 @@ public:
/// of reclaimed leases. /// of reclaimed leases.
void testReclaimExpiredLeasesLimit() { void testReclaimExpiredLeasesLimit() {
for (unsigned int i = 0; i < TEST_LEASES_NUM; ++i) { for (unsigned int i = 0; i < TEST_LEASES_NUM; ++i) {
// Mark all leaes as expired. The higher the index the less // Mark all leases as expired. The higher the index the less
// expired the lease. // expired the lease.
expire(i, 1000 - i); expire(i, 1000 - i);
} }
...@@ -1349,7 +1349,7 @@ ExpirationAllocEngine6Test::testReclaimExpiredLeasesStats() { ...@@ -1349,7 +1349,7 @@ ExpirationAllocEngine6Test::testReclaimExpiredLeasesStats() {
BOOST_STATIC_ASSERT(TEST_LEASES_NUM % 2 == 0); BOOST_STATIC_ASSERT(TEST_LEASES_NUM % 2 == 0);
for (unsigned int i = 0; i < TEST_LEASES_NUM; ++i) { for (unsigned int i = 0; i < TEST_LEASES_NUM; ++i) {
// Mark all leaes as expired. The higher the index the less // Mark all leases as expired. The higher the index the less
// expired the lease. // expired the lease.
expire(i, 1000 - i); expire(i, 1000 - i);
// Modify subnet ids and lease types for some leases. // Modify subnet ids and lease types for some leases.
...@@ -2001,7 +2001,7 @@ ExpirationAllocEngine4Test::testReclaimExpiredLeasesStats() { ...@@ -2001,7 +2001,7 @@ ExpirationAllocEngine4Test::testReclaimExpiredLeasesStats() {
BOOST_STATIC_ASSERT(TEST_LEASES_NUM % 2 == 0); BOOST_STATIC_ASSERT(TEST_LEASES_NUM % 2 == 0);
for (unsigned int i = 0; i < TEST_LEASES_NUM; ++i) { for (unsigned int i = 0; i < TEST_LEASES_NUM; ++i) {
// Mark all leaes as expired. The higher the index the less // Mark all leases as expired. The higher the index the less
// expired the lease. // expired the lease.
expire(i, 1000 - i); expire(i, 1000 - i);
// Modify subnet ids of some leases. // Modify subnet ids of some leases.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment