Run quartc_peer_test cases until bandwidth targets are met.
Rather than running for an arbitrary time (eg. 10 seconds) to let bandwidth
estimates ramp up, run the tests in quartc_peer_test.cc until the available
bandwidth reported to each peer matches the simulated link's bandwidth (with a
much longer timeout of 60 seconds, in case it never happens).
This should make the test much less brittle, since the simulator run-time will
now adjust automatically to small changes in bandwidth estimation behavior.
gfe-relnote: n/a (Quartc tests only)
PiperOrigin-RevId: 275285919
Change-Id: I6636391f5adc176a06f92004aab924d50e971eb5
3 files changed