mirror of
https://github.com/fluencelabs/redis
synced 2025-03-18 16:40:50 +00:00
Fix spelling in some test cases
This commit is contained in:
parent
28343966a4
commit
09cb281bc3
@ -83,7 +83,7 @@ test "Cluster should eventually be up again" {
|
||||
assert_cluster_state ok
|
||||
}
|
||||
|
||||
test "Node #10 should eventaully replicate node #5" {
|
||||
test "Node #10 should eventually replicate node #5" {
|
||||
set port5 [get_instance_attrib redis 5 port]
|
||||
wait_for_condition 1000 50 {
|
||||
([lindex [R 10 role] 2] == $port5) &&
|
||||
|
@ -169,7 +169,7 @@ tags {"aof"} {
|
||||
assert_equal 1 [is_alive $srv]
|
||||
}
|
||||
|
||||
test "Fixed AOF: Keyspace should contain values that were parsable" {
|
||||
test "Fixed AOF: Keyspace should contain values that were parseable" {
|
||||
set client [redis [dict get $srv host] [dict get $srv port]]
|
||||
wait_for_condition 50 100 {
|
||||
[catch {$client ping} e] == 0
|
||||
|
@ -29,7 +29,7 @@ proc assert_error {pattern code} {
|
||||
if {[catch {uplevel 1 $code} error]} {
|
||||
assert_match $pattern $error
|
||||
} else {
|
||||
error "assertion:Expected an error but nothing was catched"
|
||||
error "assertion:Expected an error but nothing was caught"
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -83,7 +83,7 @@ start_server {tags {"basic"}} {
|
||||
for {set x 9999} {$x >= 0} {incr x -1} {
|
||||
set val [r get $x]
|
||||
if {$val ne $x} {
|
||||
set err "Eleemnt at position $x is $val instead of $x"
|
||||
set err "Element at position $x is $val instead of $x"
|
||||
break
|
||||
}
|
||||
}
|
||||
|
@ -187,7 +187,7 @@ start_server {
|
||||
assert_equal [lsort -real $floats] [r sort mylist]
|
||||
}
|
||||
|
||||
test "SORT with STORE returns zero if result is empty (github isse 224)" {
|
||||
test "SORT with STORE returns zero if result is empty (github issue 224)" {
|
||||
r flushdb
|
||||
r sort foo store bar
|
||||
} {0}
|
||||
|
Loading…
x
Reference in New Issue
Block a user