Re: Question re Worker time-out in test-suite for WebCrypto

Tobie Langel <[email protected]> Mon, 16 May 2016 23:01:18 +0200
Newsgroups gmane.org.w3c.specifications
Message-ID <1463432478.4046924.609600241.4F7E7BC8@webmail.messagingengine.com>
You probably meant to task this to [email protected].

Best,

--tobie

On Mon, 16 May 2016, at 22:57, Harry Halpin wrote:
> The WebCrypto WG is working on the test-suite, and some functions (in
> particular the generation of RSA keys, a well-known slow operation) seem
> to 'time out' wrt the use of Workers on Mozilla. The same tests works
> w/o Workers.
> 
> We could take those tests out of the test-suite. Currently we've decided
> to comment them out as to not slow the whole test suite down.
> 
> 
> My guess is:
> 
> 1) If a test terminates when ran by itself, it should stay in spec.
> 2) If a test is too slow, then we remove it from the test-suite and keep
> in a separate test file and note that in our comments to the test-suite.
> 
> See tests here:
> 
> https://github.com/w3c/web-platform-tests/pull/3016
> 
> The alternative path would be to somehow queue Workers up in the
> test-suite with more control, but that seems rather complex and may not
> solve problem.
> 
> Is there any recommendation on what to do with slow tests in terms of
> workers?
> 
>   cheers,
>       harry
> 
> 
>