[web_tests][resultdb] use requests instead of urllib2
urllib2 doesn't support connection pooling. Therefore, each of sink() invocation creates a new TCP connection established. It seems that Linux and Mac establish TCP connections much quicker than Windows. However, creation of TCP connections added a significant amount of delays to blink web test runs in Windows bots. This CL solves it by using requests, which uses urllib3 and supports connection pooling. R=robertma@chromium.org CC=chanli@chromium.org,bpastene@chromium.org,nodir@chromium.org,zhaoyangli@chromium.org Bug: 1141606 Change-Id: I5fc63894ed31867db1ae1b4eac5a44b5e0921c5c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2520088 Commit-Queue: Scott Lee <ddoman@chromium.org> Reviewed-by:Nodir Turakulov <nodir@chromium.org> Reviewed-by:
Robert Ma <robertma@chromium.org> Cr-Commit-Position: refs/heads/master@{#824622}
Showing
Please register or sign in to comment