[Zope-Coders] Re: Zope tests: 4 OK, 2 Failed

Stefan H. Holek stefan at epy.co.at
Sun Jan 16 09:33:56 EST 2005


Right. The test only fails in the nightly runs. It passes fine when I 
run the tests from the command line. Let's see what I can do about 
that...

Stefan


On 16. Jän 2005, at 00:51, Tim Peters wrote:

> I can just note that like many tests involving multiple processes,
> it's vulnerable to platform timing accidents.  As a comment in the
> test says,
>
>         time.sleep(2) # race condition possible here
>
> If you're running the test on a box so feeble or overburdened that it
> takes more than 2 seconds for the line before that to get a new
> spawned process running, the test will fail.  For someone on a box
> where this test does fail, that's the first thing to determine:  is
> the test failing because spawnvp is pig-slow on that box, or for some
> other reason (and if so, what?)?
>
--
The time has come to start talking about whether the emperor is as well
dressed as we are supposed to think he is.               /Pete McBreen/



More information about the Zope-Coders mailing list