]> OCCT Git - occt.git/commitdiff
0032109: Application Framework: Test case bugs caf bug31546 works extremely unstable
authormpv <mpv@opencascade.com>
Mon, 8 Feb 2021 12:16:57 +0000 (15:16 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 4 Mar 2021 16:49:35 +0000 (19:49 +0300)
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).

tests/bugs/caf/bug31546

index ac794d6858f965c0c739dc35099e4c50f38bdc5a..ef81155c6bddc377f26b7836249b9018f9f8ef93 100644 (file)
@@ -15,5 +15,5 @@ for {set i 1} {$i < 10} {incr i} {
   Close D
 
   lappend listmem [meminfo h]
-  checktrend $listmem 0 "Memory leak"
+  checktrend $listmem 50 50 "Memory leak"
 }