diff --git a/pc/rtc_stats_integrationtest.cc b/pc/rtc_stats_integrationtest.cc index 5cd3db9948..f01d4872b1 100644 --- a/pc/rtc_stats_integrationtest.cc +++ b/pc/rtc_stats_integrationtest.cc @@ -1173,6 +1173,7 @@ TEST_F(RTCStatsIntegrationTest, GetStatsFromCallee) { auto inbound_stats = report->GetStatsOfType(); return !inbound_stats.empty() && + inbound_stats.front()->round_trip_time.is_defined() && inbound_stats.front()->round_trip_time_measurements.is_defined(); }; EXPECT_TRUE_WAIT(GetStatsReportAndReturnTrueIfRttIsDefined(), kMaxWaitMs);