[Pkg-javascript-devel] Bug#853035: fixed in node-liftoff 2.3.0-3

Xavier yadd at debian.org
Tue Feb 26 09:25:38 GMT 2019


Le 26/02/2019 à 09:54, Chris Lamb a écrit :
> Xavier Guimard wrote:
> 
>>    * Switch tests to pkg-js-tools and increase timeout (Closes: #853035)
> 
> Whilst I (also) commented on Salsa, I still don't understand why
> this was closed given my comments on the original bug report.
> 
> In particular:
> 
>   https://bugs.debian.org/853035#42
> 
> Can you help? If this was the "only" way to fix the problem, that should
> be documented in the package and in the changelog, not simply on this issue.
> 
> 
> Regards,

Hello,

upstream uses "mocha" to launch its test. mocha always uses a timeout,
default to 2s, which is a little short. mocha is widely used in node
modules and we often have to increase timeout.

I didn't find other ways to fix these FTBFS than:
 - increasing timeout in each package (this is what we did in many
   packages)
 - rewriting the whole tests with another framework (bad idea I think)
 - increasing timeout in mocha sources (only when used in Debian build
   to not pollute normal use of mocha, using for example an environment
   variable?)

I think we don't have this kind of generic problems with other test
framework (tap,...)

but maybe other JS-Team members have another idea?



More information about the Pkg-javascript-devel mailing list