summaryrefslogtreecommitdiff
path: root/addons/web/static/tests/fields/basic_fields_tests.js
diff options
context:
space:
mode:
authorChristophe Monniez <moc@odoo.com>2018-10-24 15:34:59 +0200
committerChristophe Monniez <moc@odoo.com>2018-10-25 17:16:34 +0200
commitf9ee8cff1445044d4b12dd357f11e411bacc5917 (patch)
tree40f8096a9ac0b0744ed23a4c2a3e0b118c587c3d /addons/web/static/tests/fields/basic_fields_tests.js
parentcc8e8237bf71510592063973a336b2b15cbfa126 (diff)
[FIX] tests: avoid remaining requests
From times to times, warning are seen on the runbot during HttpCase tests with the chrome headless browser. Those warning are about Odoo trying to join remaining requests threads. In the dumpstack, the thread seems blocked in the werkzeug handle_one_request method, when trying to read the HTTP request line. One explanation could be that Chrome opens a pre-connect socket for a future use. When the HttpTest cleans the browser, the page stops loading but (probably) keeps the socket open for a while. That could explain the problem. With this commit, a timeout is set on the request handler, in the hope that it closes the pre-connect socket too.
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions