Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
09cb281b
Commit
09cb281b
authored
Jul 31, 2014
by
Matt Stancliff
Browse files
Fix spelling in some test cases
parent
28343966
Changes
5
Hide whitespace changes
Inline
Side-by-side
tests/cluster/tests/05-slave-selection.tcl
View file @
09cb281b
...
...
@@ -83,7 +83,7 @@ test "Cluster should eventually be up again" {
assert_cluster_state ok
}
test
"Node #10 should event
a
ully replicate node #5"
{
test
"Node #10 should eventu
a
lly replicate node #5"
{
set port5
[
get_instance_attrib redis 5 port
]
wait_for_condition 1000 50
{
([
lindex
[
R 10 role
]
2
]
== $port5
)
&&
...
...
tests/integration/aof.tcl
View file @
09cb281b
...
...
@@ -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 pars
e
able"
{
set client
[
redis
[
dict get $srv host
]
[
dict get $srv port
]]
wait_for_condition 50 100
{
[
catch
{
$client
ping
}
e
]
== 0
...
...
tests/support/test.tcl
View file @
09cb281b
...
...
@@ -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 ca
tched
"
error
"assertion:Expected an error but nothing was ca
ught
"
}
}
...
...
tests/unit/basic.tcl
View file @
09cb281b
...
...
@@ -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
"Ele
e
mnt at position
$x
is
$val
instead of
$x
"
set err
"Elem
e
nt at position
$x
is
$val
instead of
$x
"
break
}
}
...
...
tests/unit/sort.tcl
View file @
09cb281b
...
...
@@ -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 iss
u
e 224)"
{
r flushdb
r sort foo store bar
}
{
0
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment