Skip to content

Commit 58508ac

Browse files
committed
[#3250] Corrected typos after code review
1 parent a21615d commit 58508ac

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

ChangeLog

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
2218. [func] marcin
22
Addressed an inconsistent state of the High Availability
3-
service in case one of the terminated services is restarted
4-
and another one is not. The restarted service waits 10
5-
minutes for the partner restart. If the partner is not
6-
restarted the service transitions to the terminated state
7-
to continue responding to the DHCP traffic.
3+
service that occurs when one of the terminated services is
4+
restarted and another one is not. The restarted service waits 10
5+
minutes for the partner restart. If the partner is not restarted
6+
the service transitions to the terminated state to continue
7+
responding to the DHCP traffic.
88
(Gitlab #3250)
99

1010
2217. [func] fdupont

src/hooks/dhcp/high_availability/ha_messages.mes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,7 @@ database and start normal operation.
753753
% HA_TERMINATED_PARTNER_DID_NOT_RESTART %1: service is terminating because the terminated partner was not restarted within %2 minutes
754754
This warning message is issued to indicate that the HA service is terminating
755755
because partner server is in the terminated state and was not restarted within
756-
an expacted time frame. The terminated servers should be restarted after correcting
756+
an expected time frame. The terminated servers should be restarted after correcting
757757
the problem that caused the termination. They can be restarted sequentially but the
758758
duration between the restarts should not be too long. If it is long it may mean that
759759
the restart of one of the servers was unintentional (e.g., power outage). If the

src/hooks/dhcp/high_availability/tests/communication_state_unittest.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@ class CommunicationStateTest : public HATest {
6565
/// tested in a different test case.
6666
void partnerStateUnavailableTest();
6767

68-
/// @brief Verifies that the duration since the partner time is updated
68+
/// @brief Verifies that the duration since the partner state time is updated
6969
/// correctly when the partner has certain state.
7070
void partnerStateTimeExplicitStateTest();
7171

72-
/// @brief Verifies that the duration since the partner time is updated
72+
/// @brief Verifies that the duration since the partner state time is updated
7373
/// correctly when the partner is unavailable.
7474
void partnerStateTimeUnavailableTest();
7575

@@ -216,7 +216,7 @@ CommunicationStateTest::partnerStateTest() {
216216
EXPECT_THROW(state_.setPartnerState("unsupported"), BadValue);
217217
}
218218

219-
// Verifies that the duration since the partner time is updated
219+
// Verifies that the duration since the partner state time is updated
220220
// correctly when the partner has certain state.
221221
void
222222
CommunicationStateTest::partnerStateTimeExplicitStateTest() {
@@ -245,7 +245,7 @@ CommunicationStateTest::partnerStateTimeExplicitStateTest() {
245245
EXPECT_LT(duration_since_waiting.seconds(), 10);
246246
}
247247

248-
// Verifies that the duration since the partner time is updated
248+
// Verifies that the duration since the partner state time is updated
249249
// correctly when the partner is unavailable.
250250
void
251251
CommunicationStateTest::partnerStateTimeUnavailableTest() {

0 commit comments

Comments
 (0)