[release/6.0-rc1] [wasm] spread WS based timers over next 6 minutes to prevent heavy...
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Thu, 26 Aug 2021 17:34:43 +0000 (10:34 -0700)
committerGitHub <noreply@github.com>
Thu, 26 Aug 2021 17:34:43 +0000 (10:34 -0700)
commitc5071174faa7c3244c732999e74ac33cd48f50ca
tree78b87f52edf0274f408e7a6cbf297d4b0642965d
parentd216582b9eae2454418a30e705e104255091c60d
[release/6.0-rc1] [wasm] spread WS based timers over next 6 minutes to prevent heavy throttling (#58160)

* spread WS based timers over next 6 minutes to prevent heavy throttling

* wip

* wip

* fix

* better assert description

* exclude test from CI, because helix is headless

* feedback

* more

Co-authored-by: Pavel Savara <pavelsavara@microsoft.com>
src/libraries/System.Net.WebSockets.Client/System.Net.WebSockets.Client.sln
src/libraries/System.Net.WebSockets.Client/tests/SendReceiveTest.cs
src/libraries/System.Net.WebSockets.Client/tests/wasm/BrowserTimerThrottlingTest.cs [new file with mode: 0644]
src/libraries/System.Net.WebSockets.Client/tests/wasm/System.Net.WebSockets.Client.Wasm.Tests.csproj [new file with mode: 0644]
src/libraries/System.Net.WebSockets.Client/tests/wasm/System.Net.WebSockets.Client.Wasm.Tests.sln [new file with mode: 0644]
src/libraries/tests.proj
src/mono/wasm/runtime/binding_support.js
src/mono/wasm/runtime/library_mono.js