[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:
Enrico Giordani
2015-08-20 13:20:56 +02:00
parent c4af4d5f24
commit dafaa71ec2
+2 -10
View File
@@ -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
}
}
}