From 26997bb3616f57f4bc089ea581243854ac7d415e Mon Sep 17 00:00:00 2001 From: KongQun Yang Date: Fri, 20 Jul 2018 13:00:10 -0700 Subject: [PATCH] Fix flaky test in packager_test.py MPD cannot be validated right now since we do not generate deterministic mpd with multiple inputs due to thread racing. Exclude mpd comparison in this case. Change-Id: I03b68b4969a39e20927c8a9b1475f72493682696 --- packager/app/test/packager_test.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/packager/app/test/packager_test.py b/packager/app/test/packager_test.py index d2ad2619dd..9ad469dae1 100755 --- a/packager/app/test/packager_test.py +++ b/packager/app/test/packager_test.py @@ -1026,7 +1026,14 @@ class PackagerFunctionalTest(PackagerAppTest): flags = self._GetFlags(output_dash=True, output_hls=True, generate_static_mpd=True, ad_cues='1.5') self.assertPackageSuccess(streams, flags) - self._CheckTestResults('vtt-text-to-mp4-with-ad-cues') + # Mpd cannot be validated right now since we don't generate determinstic + # mpd with multiple inputs due to thread racing. + # TODO(b/73349711): Generate determinstic mpd or at least validate mpd + # schema. + self._CheckTestResults( + 'vtt-text-to-mp4-with-ad-cues', + diff_files_policy=DiffFilesPolicy( + allowed_diff_files=['output.mpd'], exact=False)) def testWebmSubsampleEncryption(self): streams = [