This removes all "_WAIT" operations in the tests and all uses of kTimeout for loop+poll check for values. On my linux box, this also reduces the time it takes to run all ./rtc_media_unittests (in parallel) from about 3500ms, to ~50ms. (longest running test was WebRtcVideoChannelBaseTest.GetStats) Bug: none Change-Id: If544aa10cb0281cb5e5e51fb654db5f45de871da Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/302343 Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org> Cr-Commit-Position: refs/heads/main@{#39918}