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
This commit is contained in:
KongQun Yang 2018-07-20 13:00:10 -07:00
parent ec63c53ed5
commit 26997bb361
1 changed files with 8 additions and 1 deletions

View File

@ -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 = [