diff options
author | antirez <antirez@gmail.com> | 2014-05-19 11:24:05 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2014-05-19 11:24:15 +0200 |
commit | 4c04744734098576f884aa7ee3dfc64cd856043d (patch) | |
tree | c71c9619858699b981f1f54fbd57a30b847cf389 /tests/instances.tcl | |
parent | 67133d2f4882da652fd3e78ba15220bce2488d05 (diff) | |
download | redis-4c04744734098576f884aa7ee3dfc64cd856043d.tar.gz |
Cluster test: proper initialization at unit startup.
Diffstat (limited to 'tests/instances.tcl')
-rw-r--r-- | tests/instances.tcl | 2 |
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 |