summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBinbin <binloveplay1314@qq.com>2023-03-16 14:50:32 +0800
committerGitHub <noreply@github.com>2023-03-16 08:50:32 +0200
commit0b159b34ea0832f6589b8ee71b44dce7010e7504 (patch)
tree0b61a7a130b63dc6612348c37d3a1ac308276b1c /tests
parentf8a5a4f70ccada85943af90f6f2db3250ee50b27 (diff)
downloadredis-0b159b34ea0832f6589b8ee71b44dce7010e7504.tar.gz
Bump codespell to 2.2.4, fix typos and outupdated comments (#11911)
Fix some seen typos and wrong comments.
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/pause.tcl8
-rw-r--r--tests/unit/type/list.tcl8
2 files changed, 8 insertions, 8 deletions
diff --git a/tests/unit/pause.tcl b/tests/unit/pause.tcl
index 2a851bbac..e30f922e6 100644
--- a/tests/unit/pause.tcl
+++ b/tests/unit/pause.tcl
@@ -83,7 +83,7 @@ start_server {tags {"pause network"}} {
$rd2 close
}
- test "Test read/admin mutli-execs are not blocked by pause RO" {
+ test "Test read/admin multi-execs are not blocked by pause RO" {
r SET FOO BAR
r client PAUSE 100000 WRITE
set rr [redis_client]
@@ -96,7 +96,7 @@ start_server {tags {"pause network"}} {
$rr close
}
- test "Test write mutli-execs are blocked by pause RO" {
+ test "Test write multi-execs are blocked by pause RO" {
set rd [redis_deferring_client]
$rd MULTI
assert_equal [$rd read] "OK"
@@ -174,7 +174,7 @@ start_server {tags {"pause network"}} {
$rr close
}
- test "Test read-only scripts in mutli-exec are not blocked by pause RO" {
+ test "Test read-only scripts in multi-exec are not blocked by pause RO" {
r SET FOO BAR
r client PAUSE 100000 WRITE
set rr [redis_client]
@@ -193,7 +193,7 @@ start_server {tags {"pause network"}} {
$rr close
}
- test "Test write scripts in mutli-exec are blocked by pause RO" {
+ test "Test write scripts in multi-exec are blocked by pause RO" {
set rd [redis_deferring_client]
set rd2 [redis_deferring_client]
diff --git a/tests/unit/type/list.tcl b/tests/unit/type/list.tcl
index dad5e595a..d970b0278 100644
--- a/tests/unit/type/list.tcl
+++ b/tests/unit/type/list.tcl
@@ -2198,8 +2198,8 @@ foreach {pop} {BLPOP BLMPOP_RIGHT} {
$rd1 BLPOP mylist 0
wait_for_blocked_clients_count 1
- # pipline on other client a list push and a blocking pop
- # we should expect the fainess to be kept and have $rd1
+ # pipeline on other client a list push and a blocking pop
+ # we should expect the fairness to be kept and have $rd1
# being unblocked
set buf ""
append buf "LPUSH mylist 1\r\n"
@@ -2256,7 +2256,7 @@ foreach {pop} {BLPOP BLMPOP_RIGHT} {
$rd3 close
}
- test "Blocking command acounted only once in commandstats" {
+ test "Blocking command accounted only once in commandstats" {
# cleanup first
r del mylist
@@ -2279,7 +2279,7 @@ foreach {pop} {BLPOP BLMPOP_RIGHT} {
$rd close
}
- test "Blocking command acounted only once in commandstats after timeout" {
+ test "Blocking command accounted only once in commandstats after timeout" {
# cleanup first
r del mylist