Fix websocket throttling unittests
I moved some unittests in [1] but I did it wrongly. The original tests added N pending connections and measured the delay for the Nth connection. The new tests add N pending connections and measured the delay which will be used for a new connection (i.e., the N+1th connection). This CL fixes the issue. 1: https://crrev.com/8e55d7a3718dba9fe5d451cf899bef669ba02473 Bug: 721400 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo Change-Id: Iee4c31414a217496df104c5194452e874be63c5a Reviewed-on: https://chromium-review.googlesource.com/981960 Commit-Queue: Yutaka Hirano <yhirano@chromium.org> Reviewed-by:Adam Rice <ricea@chromium.org> Cr-Commit-Position: refs/heads/master@{#546042}
Showing
Please register or sign in to comment