From: mpv Date: Mon, 8 Feb 2021 12:16:57 +0000 (+0300) Subject: 0032109: Application Framework: Test case bugs caf bug31546 works extremely unstable X-Git-Tag: V7_6_0_beta~238 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=6498be70360c22f2b3df1f2fafcb230271dfc912;p=occt.git 0032109: Application Framework: Test case bugs caf bug31546 works extremely unstable In test it should be taken into account that lappend listmem [meminfo h] checktrend $listmem 0 0 "Memory leak" also gets memory (also about 100 bytes per iteration). --- diff --git a/tests/bugs/caf/bug31546 b/tests/bugs/caf/bug31546 index ac794d6858..ef81155c6b 100644 --- a/tests/bugs/caf/bug31546 +++ b/tests/bugs/caf/bug31546 @@ -15,5 +15,5 @@ for {set i 1} {$i < 10} {incr i} { Close D lappend listmem [meminfo h] - checktrend $listmem 0 0 "Memory leak" + checktrend $listmem 50 50 "Memory leak" }