Make multiple-connections.html less aggressive.
commitf2abb8a41ce134f287d6bd373fd13181aab387f8
authorricea <ricea@chromium.org>
Wed, 27 May 2015 09:41:58 +0000 (27 02:41 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 27 May 2015 09:42:23 +0000 (27 09:42 +0000)
tree1778a36ae5c5b72b2bafd92dd044b380d1e937b3
parent7c733cb38e04ede94cdcd4364548fc69fe4c1561
Make multiple-connections.html less aggressive.

The test WebSocketBrowserTest.SSLConnectionLimit is flaky because it
attempts to connect 30 WebSockets all at once. This triggers the
per-renderer WebSocket connection throttling, and sometime that makes it
take over 5 seconds.

Make similar modifications as in https://crrev.com/1021143002 to only
attempt 2 connections at a time. This avoids triggering the throttling.

BUG=481667
TEST=browser_tests WebSocketBrowserTest.SSLConnectionLimit

Review URL: https://codereview.chromium.org/1153533003

Cr-Commit-Position: refs/heads/master@{#331553}
net/data/websocket/multiple-connections.html