Chromium Code Reviews
DescriptionDeflake 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)
|