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)
3 files changed