Commit 302f2133 authored by Henrik Boström's avatar Henrik Boström Committed by Commit Bot

[macOS Capture] Disable VideoCaptureDeviceAVFoundationMacTest.*

Post-CQ bots are failing in ways not reproducible locally or on the CQ.
To rule out if tests are interfering with each other (e.g. opening
camera in parallel or leaving the camera in a bad state) we disable all
tests exercising the new code path.

This should result in only old capturer code running, with only pixel
formats not natively supported by the camera (2vuy).

TBR=handellm@google.com, ccameron@chromium.org
NOTRY=True

Bug: chromium:1128470, chromium:1129807
Change-Id: I68d425807cee869bcc76dddcb0aa36ff4476e6ee
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2424128
Commit-Queue: Henrik Boström <hbos@chromium.org>
Reviewed-by: default avatarHenrik Boström <hbos@chromium.org>
Cr-Commit-Position: refs/heads/master@{#809709}
parent f8a3edfb
......@@ -19,7 +19,7 @@ using testing::_;
namespace media {
TEST(VideoCaptureDeviceAVFoundationMacTest, TakePhoto) {
TEST(VideoCaptureDeviceAVFoundationMacTest, DISABLED_TakePhoto) {
RunTestCase(base::BindOnce([] {
NSString* deviceId = GetFirstDeviceId();
if (!deviceId) {
......@@ -46,7 +46,8 @@ TEST(VideoCaptureDeviceAVFoundationMacTest, TakePhoto) {
}));
}
TEST(VideoCaptureDeviceAVFoundationMacTest, StopCaptureWhileTakingPhoto) {
TEST(VideoCaptureDeviceAVFoundationMacTest,
DISABLED_StopCaptureWhileTakingPhoto) {
RunTestCase(base::BindOnce([] {
NSString* deviceId = GetFirstDeviceId();
if (!deviceId) {
......@@ -77,7 +78,8 @@ TEST(VideoCaptureDeviceAVFoundationMacTest, StopCaptureWhileTakingPhoto) {
}));
}
TEST(VideoCaptureDeviceAVFoundationMacTest, MultiplePendingTakePhotos) {
TEST(VideoCaptureDeviceAVFoundationMacTest,
DISABLED_MultiplePendingTakePhotos) {
RunTestCase(base::BindOnce([] {
NSString* deviceId = GetFirstDeviceId();
if (!deviceId) {
......@@ -113,7 +115,7 @@ TEST(VideoCaptureDeviceAVFoundationMacTest, MultiplePendingTakePhotos) {
}
TEST(VideoCaptureDeviceAVFoundationMacTest,
StopCaptureWhileMultiplePendingTakePhotos) {
DISABLED_StopCaptureWhileMultiplePendingTakePhotos) {
RunTestCase(base::BindOnce([] {
NSString* deviceId = GetFirstDeviceId();
if (!deviceId) {
......@@ -153,7 +155,7 @@ TEST(VideoCaptureDeviceAVFoundationMacTest,
}
TEST(VideoCaptureDeviceAVFoundationMacTest,
StopStillImageOutputWhenNoLongerTakingPhotos) {
DISABLED_StopStillImageOutputWhenNoLongerTakingPhotos) {
RunTestCase(base::BindOnce([] {
NSString* deviceId = GetFirstDeviceId();
if (!deviceId) {
......@@ -190,7 +192,7 @@ TEST(VideoCaptureDeviceAVFoundationMacTest,
// This test ensures we don't crash even if we leave operations pending.
TEST(VideoCaptureDeviceAVFoundationMacTest,
TakePhotoAndShutDownWithoutWaiting) {
DISABLED_TakePhotoAndShutDownWithoutWaiting) {
RunTestCase(base::BindOnce([] {
NSString* deviceId = GetFirstDeviceId();
if (!deviceId) {
......
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