ZF-6019: testCaptchaImageCleanup(Zend_Captcha_ImageTest) test failure
Description
{panel} 1) testCaptchaImageCleanup(Zend_Captcha_ImageTest) File /tmp/ZF_test_images/0d62d1387f038b41435689678c94a062.png was found even after GC Failed asserting that is false. {panel}
Comments
Posted by Alexander Veremyev (alexander) on 2009-03-13T05:38:21.000+0000
Garbage collection process is started randomly depending on GcFreq option.
Above expression is used to check if garbage collection process have to be started. So gcFreq == 1 ($captcha->setGcFreq(1)) means "once per two executions".
mt_rand(1, $this->getGcFreq()) is more accurate (and it looks like a bug but not a unit tests problem).
Posted by Fabien MARTY (fab) on 2009-03-28T10:32:34.000+0000
is it really a Zend_Cache issue ?
Posted by Fabien MARTY (fab) on 2009-04-09T00:15:36.000+0000
I change the component (it seems to be a Zend_Captcha problem, not a Zend_Cache one)
Posted by Menno Luiten (mluiten) on 2009-12-20T03:49:54.000+0000
Does this still occur? There is a fix posted in r14290 (1.7 release branch) some time ago, but it seems the poster did not close the issue yet.
Posted by Menno Luiten (mluiten) on 2009-12-21T00:56:01.000+0000
Resolving, since I can not reproduce this and it seems to be fixed since r14290 / 1.7.7.