develooper Front page | perl.perl5.porters | Postings from November 2008

Re: 5.8.9 RC1 - occasional thread test failures (test output ordering)

Thread Previous | Thread Next
From:
Jerry D. Hedden
Date:
November 19, 2008 07:19
Subject:
Re: 5.8.9 RC1 - occasional thread test failures (test output ordering)
Message ID:
1ff86f510811190719t772b395em1d005512df1ab32a@mail.gmail.com
Tim Bunce wrote:
> This happened just once, on the first 'make test':
> ext/threads/t/free2.............................FAILED--expected test 67, saw test 68

This one I cannot fathom.  I see no way for tests to come
out of order for this as all printing is done in the main
thread.

> Another heisenbug thread test failure cropped up once during a 'make test' today:
> lib/Thread/Queue/t/01_basic.....................FAILED--expected test 29, saw test 30
>
> on the next 'make test' a different thread test failed:
> lib/Thread/Semaphore/t/01_basic.................FAILED--expected test 9, saw test 10

These use Test::More and tests are reported from threads.
So there is either a problem with Test::More, or something
more nefarious is going on.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About