Fix quick perf test setting that was accidentally inverted.
Bug was introduced in https://codereview.webrtc.org/2717973005/ Only affects test output, so omitting bug. BUG=None Review-Url: https://codereview.webrtc.org/2723093002 Cr-Commit-Position: refs/heads/master@{#16943}
This commit is contained in:
@ -290,7 +290,7 @@ void CallPerfTest::TestAudioVideoSync(FecMode fec,
|
|||||||
observer.PrintResults();
|
observer.PrintResults();
|
||||||
|
|
||||||
// In quick test synchronization may not be achieved in time.
|
// In quick test synchronization may not be achieved in time.
|
||||||
if (field_trial::IsEnabled("WebRTC-QuickPerfTest")) {
|
if (!field_trial::IsEnabled("WebRTC-QuickPerfTest")) {
|
||||||
EXPECT_EQ(1, metrics::NumSamples("WebRTC.Video.AVSyncOffsetInMs"));
|
EXPECT_EQ(1, metrics::NumSamples("WebRTC.Video.AVSyncOffsetInMs"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -380,7 +380,7 @@ void BweTest::RunFairnessTest(BandwidthEstimatorType bwe_type,
|
|||||||
PrintResults(capacity_kbps, total_utilization.GetBitrateStats(),
|
PrintResults(capacity_kbps, total_utilization.GetBitrateStats(),
|
||||||
flow_delay_ms, flow_throughput_kbps);
|
flow_delay_ms, flow_throughput_kbps);
|
||||||
|
|
||||||
if (field_trial::IsEnabled("WebRTC-QuickPerfTest")) {
|
if (!field_trial::IsEnabled("WebRTC-QuickPerfTest")) {
|
||||||
for (int i : all_flow_ids) {
|
for (int i : all_flow_ids) {
|
||||||
metric_recorders[i]->PlotThroughputHistogram(
|
metric_recorders[i]->PlotThroughputHistogram(
|
||||||
title, flow_name, static_cast<int>(num_media_flows), 0);
|
title, flow_name, static_cast<int>(num_media_flows), 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user