-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Address flakiness of service-workers/service-worker/update-no-cache-r… #20797
Address flakiness of service-workers/service-worker/update-no-cache-r… #20797
Conversation
…equest-headers.https.html The test triggers a registration update and then expects registration.installing to be non-null once the registration update promise is resolved. This is only true if the content of the service worker script is different since last update. The script included a timestamp to try and make the script different every time but it would sometimes not suffice if the update happens quickly enough (https://bugs.webkit.org/show_bug.cgi?id=205286). To address the issue, include a UUID in the script instead of a timestamp.
cc @youennf |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This lgtm. But the bot shows a failure on wpt-firefox-nightly-stability:
assert_equals: expected (string) "etag" but got (undefined) undefined`
This might be existing flakiness caused by another bug in this test. wpt.fyi shows the same error for Chrome and Safari today.
@asutherland are you ok with merging this?
…rs/service-worker/update-no-cache-request-headers.https.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=205286 <rdar://problem/57976344> Reviewed by Alexey Proskuryakov. The test triggers a registration update and then expects registration.installing to be non-null once the registration update promise is resolved. This is only true if the content of the service worker script is different since last update. The script included a timestamp to try and make the script different every time but it would sometimes not suffice if the update happens quickly enough. To address the issue, include a UUID in the script instead of a timestamp. Upstream PR: web-platform-tests/wpt#20797 * web-platform-tests/service-workers/service-worker/resources/test-request-headers-worker.js: * web-platform-tests/service-workers/service-worker/resources/test-request-headers-worker.py: (main): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@253592 268f45cc-cd09-0410-ab3c-d52691b4dbfc
The UUID change seems fine to me. Firefox locally has a bug on the etag issue and I think my most recent analysis on that was at https://bugzilla.mozilla.org/show_bug.cgi?id=1541192#c35. |
How do we go about merging this? |
I'll admin merge per #20797 (comment). |
…equest-headers.https.html
The test triggers a registration update and then expects registration.installing to be non-null
once the registration update promise is resolved. This is only true if the content of the service
worker script is different since last update. The script included a timestamp to try and make
the script different every time but it would sometimes not suffice if the update happens quickly
enough (https://bugs.webkit.org/show_bug.cgi?id=205286). To address the issue, include a UUID in
the script instead of a timestamp.