Re: Re: Zope tests: 4 OK, 2 Failed

"Stefan H. Holek" <[email protected]>
Newsgroups gmane.comp.web.zope.coders
Message-ID <[email protected]>
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.