Skip to content
This repository has been archived by the owner on Feb 20, 2021. It is now read-only.

Commit

Permalink
Comment wording.
Browse files Browse the repository at this point in the history
  • Loading branch information
enricogior committed Jun 19, 2015
1 parent 2c8c937 commit 4742811
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/instances.tcl
Expand Up @@ -59,9 +59,9 @@ proc spawn_instance {type base_port count {conf {}}} {

# Finally exec it and remember the pid for later cleanup.
if {$type eq "redis"} {
set pid [exec ../../../src/redis-server $cfgfile &] ;# WIN_PORT_ISSUE
set pid [exec ../../../src/redis-server $cfgfile &] ;# WIN_PORT_FIX
} elseif {$type eq "sentinel"} {
set pid [exec ../../../src/redis-server $cfgfile --sentinel &] ;# WIN_PORT_ISSUE
set pid [exec ../../../src/redis-server $cfgfile --sentinel &] ;# WIN_PORT_FIX
} else {
error "Unknown instance type."
}
Expand Down Expand Up @@ -395,9 +395,9 @@ proc restart_instance {type id} {
# Execute the instance with its old setup and append the new pid
# file for cleanup.
if {$type eq "redis"} {
set pid [exec ../../../src/redis-server $cfgfile &] ;# WIN_PORT_ISSUE
set pid [exec ../../../src/redis-server $cfgfile &] ;# WIN_PORT_FIX
} else {
set pid [exec ../../../src/redis-server $cfgfile --sentinel &] ;# WIN_PORT_ISSUE
set pid [exec ../../../src/redis-server $cfgfile --sentinel &] ;# WIN_PORT_FIX
}
set_instance_attrib $type $id pid $pid
lappend ::pids $pid
Expand Down

0 comments on commit 4742811

Please sign in to comment.