W3C home > Mailing lists > Public > public-test-infra@w3.org > April to June 2016

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

From: Harry Halpin <hhalpin@w3.org>
Date: Fri, 20 May 2016 13:05:11 -1000
To: public-test-infra@w3.org
Message-ID: <573F9827.4010300@w3.org>
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
Received on Friday, 20 May 2016 23:05:13 UTC

This archive was generated by hypermail 2.3.1 : Friday, 20 May 2016 23:05:14 UTC