Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(187)

Issue 2540833002: Deflake tests in http/tests/appcache/ when run in random order (Closed)

Created:
4 years ago by jsbell
Modified:
4 years ago
Reviewers:
jeffcarp
CC:
chromium-reviews, blink-reviews, michaeln
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Deflake tests in http/tests/appcache/ when run in random order The tests use sync XHR to poke the server to tweak the AppCache manifest state. Since the manifest is PHP server is re-used across tests the initial state could be unexpected. The tests handled this as necessary, but meant that a variable number of sync XHRs would be issued. Since sync XHRs log a deprecation warning the output was flaky. Fix this by switching server control to async XHR. Additionally, obsolete-error-events.html would time out if no update was needed, so handle the 'noupdate' event too. BUG=663860 R=jeffcarp@chromium.org Committed: https://crrev.com/1b6aabf1422f519dfe93fde0ba65b04c3a7a60a8 Cr-Commit-Position: refs/heads/master@{#435450}

Patch Set 1 #

Patch Set 2 : remove tests from RandomOrderExpectations #

Patch Set 3 : Rebased #

Messages

Total messages: 21 (13 generated)
jsbell
jeffcarp@ - please take a look?
4 years ago (2016-11-29 21:38:40 UTC) #3
jeffcarp
On 2016/11/29 at 21:38:40, jsbell wrote: > jeffcarp@ - please take a look? Looks great! ...
4 years ago (2016-11-30 20:21:10 UTC) #7
jsbell
On 2016/11/30 20:21:10, jeffcarp wrote: > On 2016/11/29 at 21:38:40, jsbell wrote: > > jeffcarp@ ...
4 years ago (2016-11-30 21:33:17 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2540833002/20001
4 years ago (2016-11-30 21:33:39 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/315793) mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years ago (2016-11-30 21:36:51 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2540833002/40001
4 years ago (2016-11-30 21:40:54 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-11-30 22:31:45 UTC) #19
commit-bot: I haz the power
4 years ago (2016-11-30 22:34:51 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/1b6aabf1422f519dfe93fde0ba65b04c3a7a60a8
Cr-Commit-Position: refs/heads/master@{#435450}

Powered by Google App Engine
This is Rietveld 408576698