Layout Test http/tests/workers/service/basic-unregister-then-register-again-reuse...
authorcdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 24 Jan 2018 21:26:47 +0000 (21:26 +0000)
committercdumez@apple.com <cdumez@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 24 Jan 2018 21:26:47 +0000 (21:26 +0000)
commit3b82a360cf75ae9dabac0b86e2f54f0e065214c2
tree63e54d2698af5e365fdc1d91101d56abce91e122
parent292bf130044385e4c63c41650837cd8ca2c0c86d
Layout Test http/tests/workers/service/basic-unregister-then-register-again-reuse.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=182030
<rdar://problem/36802933>

Reviewed by Youenn Fablet.

The service worker was only extending its lifetime using waitUntil() for 10 seconds. On the flakiness
dashboard, I see that the test sometimes takes more than 10 seconds to run on some bots, which can
cause the test to fail since the service worker is not keeping the registration alive anymore.
To address the issue, raise the lifetime to 30 seconds.

* http/tests/workers/service/resources/basic-unregister-then-register-again-reuse-worker.js:
(event.waitUntil.new.Promise):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@227557 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/tests/workers/service/resources/basic-unregister-then-register-again-reuse-worker.js