[Bug 29702] Unit tests are racy/buggy

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Aug 23 11:09:07 CEST 2010


https://bugs.freedesktop.org/show_bug.cgi?id=29702

Olli Salli <ollisal at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Olli Salli <ollisal at gmail.com> 2010-08-23 02:09:06 PDT ---
Fix merged to master. Unit tests run reliably now. This was verified with
repeat-tests.sh "make check" 1000 and repeat-tests.sh "make check-valgrind"
100, both of which completed without a single failure, which is impressive
considering the branch lowers delay between simulated network events from
1000ms to just 1ms. This has the consequence of speeding up the tests
immensely.

If you, however, notice that running unit tests now occasionally fails / hangs
for you, please reopen the bug with the log from the failed run. This sort of
fixing can never be 100% - if the races are sufficiently rare to not have
happened in the finite amount of test runs I've done (which is several tens of
thousands though), I haven't been able to fix them. For example one of the
races fixed only happened three times in 10000 test runs.

Will be in 0.3.8.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.



More information about the telepathy-bugs mailing list