[Test] Removed Windows specific code.
On Windows, genClientPeerId used to return the hardcoded string "MASTER:0" instead of the ip:port value, it is now fixed so the windows-only case in the test is not needed anymore.
This commit is contained in:
@@ -63,20 +63,12 @@ proc test_psync {descr duration backlog_size backlog_ttl delay cond} {
|
||||
catch {
|
||||
if {$delay} {
|
||||
$slave multi
|
||||
if { $::tcl_platform(platform) == "windows" } {
|
||||
$slave client kill MASTER:0
|
||||
} else {
|
||||
$slave client kill $master_host:$master_port
|
||||
}
|
||||
$slave client kill $master_host:$master_port
|
||||
|
||||
$slave debug sleep $delay
|
||||
$slave exec
|
||||
} else {
|
||||
if { $::tcl_platform(platform) == "windows" } {
|
||||
$slave client kill MASTER:0
|
||||
} else {
|
||||
$slave client kill $master_host:$master_port
|
||||
}
|
||||
$slave client kill $master_host:$master_port
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user