Test field trial group with startswith rather than equals.

BUG=webrtc:7266

Review-Url: https://codereview.webrtc.org/2717973005
Cr-Commit-Position: refs/heads/master@{#16915}
This commit is contained in:
sprang
2017-02-28 08:50:47 -08:00
committed by Commit bot
parent f8ee65ead6
commit c1b57a15bf
23 changed files with 42 additions and 46 deletions

View File

@ -290,7 +290,7 @@ void CallPerfTest::TestAudioVideoSync(FecMode fec,
observer.PrintResults();
// In quick test synchronization may not be achieved in time.
if (field_trial::FindFullName("WebRTC-QuickPerfTest") != "Enabled") {
if (field_trial::IsEnabled("WebRTC-QuickPerfTest")) {
EXPECT_EQ(1, metrics::NumSamples("WebRTC.Video.AVSyncOffsetInMs"));
}
}