mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 13:50:40 +01:00
Follow-up CL to deflake RTCStatsIntegrationTest.GetStatsFromCallee
This is a follow-up to https://webrtc-review.googlesource.com/c/src/+/295724. Test is still failing sometimes. Add additional constraint. Bug: webrtc:14952 Change-Id: Iddc2733459733c0f3e40aea303752f055cb865c5 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/295665 Reviewed-by: Henrik Boström <hbos@webrtc.org> Commit-Queue: Henrik Boström <hbos@webrtc.org> Auto-Submit: Johannes Kron <kron@webrtc.org> Cr-Commit-Position: refs/heads/main@{#39441}
This commit is contained in:
parent
c1dc4fd0ef
commit
0925fe36cf
1 changed files with 1 additions and 0 deletions
|
@ -1173,6 +1173,7 @@ TEST_F(RTCStatsIntegrationTest, GetStatsFromCallee) {
|
||||||
auto inbound_stats =
|
auto inbound_stats =
|
||||||
report->GetStatsOfType<RTCRemoteInboundRtpStreamStats>();
|
report->GetStatsOfType<RTCRemoteInboundRtpStreamStats>();
|
||||||
return !inbound_stats.empty() &&
|
return !inbound_stats.empty() &&
|
||||||
|
inbound_stats.front()->round_trip_time.is_defined() &&
|
||||||
inbound_stats.front()->round_trip_time_measurements.is_defined();
|
inbound_stats.front()->round_trip_time_measurements.is_defined();
|
||||||
};
|
};
|
||||||
EXPECT_TRUE_WAIT(GetStatsReportAndReturnTrueIfRttIsDefined(), kMaxWaitMs);
|
EXPECT_TRUE_WAIT(GetStatsReportAndReturnTrueIfRttIsDefined(), kMaxWaitMs);
|
||||||
|
|
Loading…
Reference in a new issue