1
0
mirror of https://github.com/fluencelabs/redis synced 2025-04-10 11:16:06 +00:00

Fix spelling in some test cases

This commit is contained in:
Matt Stancliff 2014-07-31 14:33:50 -04:00
parent 28343966a4
commit 09cb281bc3
5 changed files with 5 additions and 5 deletions
tests

@ -83,7 +83,7 @@ test "Cluster should eventually be up again" {
assert_cluster_state ok 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] set port5 [get_instance_attrib redis 5 port]
wait_for_condition 1000 50 { wait_for_condition 1000 50 {
([lindex [R 10 role] 2] == $port5) && ([lindex [R 10 role] 2] == $port5) &&

@ -169,7 +169,7 @@ tags {"aof"} {
assert_equal 1 [is_alive $srv] 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]] set client [redis [dict get $srv host] [dict get $srv port]]
wait_for_condition 50 100 { wait_for_condition 50 100 {
[catch {$client ping} e] == 0 [catch {$client ping} e] == 0

@ -29,7 +29,7 @@ proc assert_error {pattern code} {
if {[catch {uplevel 1 $code} error]} { if {[catch {uplevel 1 $code} error]} {
assert_match $pattern $error assert_match $pattern $error
} else { } 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} { for {set x 9999} {$x >= 0} {incr x -1} {
set val [r get $x] set val [r get $x]
if {$val ne $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 break
} }
} }

@ -187,7 +187,7 @@ start_server {
assert_equal [lsort -real $floats] [r sort mylist] 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 flushdb
r sort foo store bar r sort foo store bar
} {0} } {0}