Disable flaky tests on mac perf bot

Bug: webrtc:9840
Change-Id: Ie95fdb7bc698604a85ad56242ba092c36a99002e
Reviewed-on: https://webrtc-review.googlesource.com/c/104801
Reviewed-by: Erik Språng <sprang@webrtc.org>
Commit-Queue: Ilya Nikolaevskiy <ilnik@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#25080}
This commit is contained in:
Ilya Nikolaevskiy
2018-10-09 17:22:15 +02:00
committed by Commit Bot
parent 1bca65bdc9
commit f08dd9db34

View File

@ -47,8 +47,6 @@ namespace webrtc {
namespace {
static const int kFullStackTestDurationSecs = 45;
const char kScreenshareSimulcastExperiment[] =
"WebRTC-SimulcastScreenshare/Enabled/";
const char kPacerPushBackExperiment[] =
"WebRTC-PacerPushbackExperiment/Enabled/";
@ -642,6 +640,11 @@ TEST(FullStackTest, ScreenshareSlidesVP8_2TL) {
fixture->RunWithAnalyzer(screenshare);
}
// TODO(bugs.webrtc.org/9840): Investigate why is this test flaky on MAC.
#if !defined(WEBRTC_MAC)
const char kScreenshareSimulcastExperiment[] =
"WebRTC-SimulcastScreenshare/Enabled/";
TEST(FullStackTest, ScreenshareSlidesVP8_3TL_Simulcast) {
auto fixture = CreateVideoQualityTestFixture();
test::ScopedFieldTrials field_trial(kScreenshareSimulcastExperiment);
@ -670,6 +673,7 @@ TEST(FullStackTest, ScreenshareSlidesVP8_3TL_Simulcast) {
false};
fixture->RunWithAnalyzer(screenshare);
}
#endif // !defined(WEBRTC_MAC)
TEST(FullStackTest, ScreenshareSlidesVP8_2TL_Scroll) {
auto fixture = CreateVideoQualityTestFixture();
@ -1104,7 +1108,8 @@ INSTANTIATE_TEST_CASE_P(FullStackTest,
class DualStreamsTest : public ::testing::TestWithParam<int> {};
// Disable dual video test on mobile device becuase it's too heavy.
#if !defined(WEBRTC_ANDROID) && !defined(WEBRTC_IOS)
// TODO(bugs.webrtc.org/9840): Investigate why is this test flaky on MAC.
#if !defined(WEBRTC_ANDROID) && !defined(WEBRTC_IOS) && !defined(WEBRTC_MAC)
TEST_P(DualStreamsTest,
ModeratelyRestricted_SlidesVp8_3TL_Simulcast_Video_Simulcast_High) {
test::ScopedFieldTrials field_trial(
@ -1168,7 +1173,8 @@ TEST_P(DualStreamsTest,
auto fixture = CreateVideoQualityTestFixture();
fixture->RunWithAnalyzer(dual_streams);
}
#endif // !defined(WEBRTC_ANDROID) && !defined(WEBRTC_IOS)
#endif // !defined(WEBRTC_ANDROID) && !defined(WEBRTC_IOS) &&
// !defined(WEBRTC_MAC)
TEST_P(DualStreamsTest, Conference_Restricted) {
test::ScopedFieldTrials field_trial(