diff --git a/src/modules/audio_device/main/test/audio_device_test_api.cc b/src/modules/audio_device/main/test/audio_device_test_api.cc index a7b1f7186..fdd6ad3c8 100644 --- a/src/modules/audio_device/main/test/audio_device_test_api.cc +++ b/src/modules/audio_device/main/test/audio_device_test_api.cc @@ -1688,7 +1688,8 @@ TEST_F(AudioDeviceAPITest, CPULoad) { } // TODO(kjellander): Fix flakiness causing failures on Windows. -#if !defined(_WIN32) +// TODO(phoglund): Fix flakiness causing failures on Linux. +#if !defined(_WIN32) && !defined(WEBRTC_LINUX) TEST_F(AudioDeviceAPITest, StartAndStopRawOutputFileRecording) { // NOTE: this API is better tested in a functional test CheckInitialPlayoutStates(); @@ -1724,8 +1725,6 @@ TEST_F(AudioDeviceAPITest, StartAndStopRawOutputFileRecording) { // - size of raw_output_playing.pcm shall be > 0 } -// TODO(phoglund): The following test is flaky on Linux. -#if !defined(WEBRTC_LINUX) TEST_F(AudioDeviceAPITest, StartAndStopRawInputFileRecording) { // NOTE: this API is better tested in a functional test CheckInitialRecordingStates(); @@ -1759,8 +1758,7 @@ TEST_F(AudioDeviceAPITest, StartAndStopRawInputFileRecording) { // - size of raw_input_not_recording.pcm shall be 0 // - size of raw_input_not_recording.pcm shall be > 0 } -#endif // !WEBRTC_LINUX -#endif // !WIN32 +#endif // !WIN32 && !WEBRTC_LINUX TEST_F(AudioDeviceAPITest, RecordingSampleRate) { WebRtc_UWord32 sampleRate(0);