summaryrefslogtreecommitdiff
path: root/tests/instances.tcl
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2014-05-19 11:24:05 +0200
committerantirez <antirez@gmail.com>2014-05-19 11:24:15 +0200
commit4c04744734098576f884aa7ee3dfc64cd856043d (patch)
treec71c9619858699b981f1f54fbd57a30b847cf389 /tests/instances.tcl
parent67133d2f4882da652fd3e78ba15220bce2488d05 (diff)
downloadredis-4c04744734098576f884aa7ee3dfc64cd856043d.tar.gz
Cluster test: proper initialization at unit startup.
Diffstat (limited to 'tests/instances.tcl')
-rw-r--r--tests/instances.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/instances.tcl b/tests/instances.tcl
index 4575c8388..34c59a11c 100644
--- a/tests/instances.tcl
+++ b/tests/instances.tcl
@@ -363,7 +363,7 @@ proc kill_instance {type id} {
# Return true of the instance of the specified type/id is killed.
proc instance_is_killed {type id} {
set pid [get_instance_attrib $type $id pid]
- return $pid == -1
+ expr {$pid == -1}
}
# Restart an instance previously killed by kill_instance