mirror of
https://github.com/fluencelabs/redis
synced 2025-06-11 08:11:20 +00:00
tag memory leak check on kill server as "leaks"
This commit is contained in:
@ -33,9 +33,11 @@ proc kill_server config {
|
|||||||
if {![dict exists $config "skipleaks"]} {
|
if {![dict exists $config "skipleaks"]} {
|
||||||
catch {
|
catch {
|
||||||
if {[string match {*Darwin*} [exec uname -a]]} {
|
if {[string match {*Darwin*} [exec uname -a]]} {
|
||||||
test "Check for memory leaks (pid $pid)" {
|
tags {"leaks"} {
|
||||||
exec leaks $pid
|
test "Check for memory leaks (pid $pid)" {
|
||||||
} {*0 leaks*}
|
exec leaks $pid
|
||||||
|
} {*0 leaks*}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user