Commit 44229dd3 authored by John Rummell's avatar John Rummell Committed by Commit Bot

Don't try RemoveTemporarySession test if license server not available.

BUG=894422
TEST=test passes on Windows

Change-Id: I3907fecda3642f542db153e68ce12cb33c074402
Reviewed-on: https://chromium-review.googlesource.com/c/1278467
Commit-Queue: Xiaohan Wang <xhwang@chromium.org>
Reviewed-by: default avatarXiaohan Wang <xhwang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#599065}
parent 040907c0
......@@ -656,6 +656,12 @@ IN_PROC_BROWSER_TEST_P(EncryptedMediaTest, PolicyCheck) {
}
IN_PROC_BROWSER_TEST_P(EncryptedMediaTest, RemoveTemporarySession) {
if (!IsPlayBackPossible(CurrentKeySystem())) {
DVLOG(0) << "Skipping test - RemoveTemporarySession test requires license "
"server.";
return;
}
// Although this test doesn't play anything, there is no need to run it
// twice for the same key system.
if (CurrentSourceType() != SrcType::MSE) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment