summaryrefslogtreecommitdiff
path: root/tests/sentinel
diff options
context:
space:
mode:
authorSalvatore Sanfilippo <antirez@gmail.com>2018-08-29 16:18:11 +0200
committerGitHub <noreply@github.com>2018-08-29 16:18:11 +0200
commit476eea95dad37aa2c11cd82627926b9d117e052a (patch)
tree946ff1d00f0b7bf4ca3b3c3def3495a5273aadbe /tests/sentinel
parentbd9259d12dfea67022d0401702142bb2b5033728 (diff)
parent132be8aed5c7669f3061d2861eb2570c9f41dc19 (diff)
downloadredis-476eea95dad37aa2c11cd82627926b9d117e052a.tar.gz
Merge pull request #4216 from lamby/did-not-received-typos
Correct "did not received" -> "did not receive" typos/grammar.
Diffstat (limited to 'tests/sentinel')
-rw-r--r--tests/sentinel/tests/00-base.tcl4
-rw-r--r--tests/sentinel/tests/01-conf-update.tcl4
-rw-r--r--tests/sentinel/tests/02-slaves-reconf.tcl2
-rw-r--r--tests/sentinel/tests/05-manual.tcl2
4 files changed, 6 insertions, 6 deletions
diff --git a/tests/sentinel/tests/00-base.tcl b/tests/sentinel/tests/00-base.tcl
index a79d0c371..7fb1a8bef 100644
--- a/tests/sentinel/tests/00-base.tcl
+++ b/tests/sentinel/tests/00-base.tcl
@@ -17,7 +17,7 @@ test "Basic failover works if the master is down" {
wait_for_condition 1000 50 {
[lindex [S $id SENTINEL GET-MASTER-ADDR-BY-NAME mymaster] 1] != $old_port
} else {
- fail "At least one Sentinel did not received failover info"
+ fail "At least one Sentinel did not receive failover info"
}
}
restart_instance redis $master_id
@@ -108,7 +108,7 @@ test "Failover works if we configure for absolute agreement" {
wait_for_condition 1000 50 {
[lindex [S $id SENTINEL GET-MASTER-ADDR-BY-NAME mymaster] 1] != $old_port
} else {
- fail "At least one Sentinel did not received failover info"
+ fail "At least one Sentinel did not receive failover info"
}
}
restart_instance redis $master_id
diff --git a/tests/sentinel/tests/01-conf-update.tcl b/tests/sentinel/tests/01-conf-update.tcl
index 4998104d2..d45b1b08e 100644
--- a/tests/sentinel/tests/01-conf-update.tcl
+++ b/tests/sentinel/tests/01-conf-update.tcl
@@ -16,7 +16,7 @@ test "We can failover with Sentinel 1 crashed" {
wait_for_condition 1000 50 {
[lindex [S $id SENTINEL GET-MASTER-ADDR-BY-NAME mymaster] 1] != $old_port
} else {
- fail "Sentinel $id did not received failover info"
+ fail "Sentinel $id did not receive failover info"
}
}
}
@@ -30,7 +30,7 @@ test "After Sentinel 1 is restarted, its config gets updated" {
wait_for_condition 1000 50 {
[lindex [S 1 SENTINEL GET-MASTER-ADDR-BY-NAME mymaster] 1] != $old_port
} else {
- fail "Restarted Sentinel did not received failover info"
+ fail "Restarted Sentinel did not receive failover info"
}
}
diff --git a/tests/sentinel/tests/02-slaves-reconf.tcl b/tests/sentinel/tests/02-slaves-reconf.tcl
index fa15d2efd..28964c968 100644
--- a/tests/sentinel/tests/02-slaves-reconf.tcl
+++ b/tests/sentinel/tests/02-slaves-reconf.tcl
@@ -36,7 +36,7 @@ proc 02_crash_and_failover {} {
wait_for_condition 1000 50 {
[lindex [S $id SENTINEL GET-MASTER-ADDR-BY-NAME mymaster] 1] != $old_port
} else {
- fail "At least one Sentinel did not received failover info"
+ fail "At least one Sentinel did not receive failover info"
}
}
restart_instance redis $master_id
diff --git a/tests/sentinel/tests/05-manual.tcl b/tests/sentinel/tests/05-manual.tcl
index 5214fdce1..ed568aa03 100644
--- a/tests/sentinel/tests/05-manual.tcl
+++ b/tests/sentinel/tests/05-manual.tcl
@@ -12,7 +12,7 @@ test "Manual failover works" {
wait_for_condition 1000 50 {
[lindex [S $id SENTINEL GET-MASTER-ADDR-BY-NAME mymaster] 1] != $old_port
} else {
- fail "At least one Sentinel did not received failover info"
+ fail "At least one Sentinel did not receive failover info"
}
}
set addr [S 0 SENTINEL GET-MASTER-ADDR-BY-NAME mymaster]