Shorten the fir filter adapt test quite a bit.

The test is likely timing out on iOS simulator (see bug). Maybe I'm
going a bit overboard here :) if you want to keep all the cases I
removed, you can run some cases in one test method and the others in
another test method. Are the cases I removed particularly important?

Bug: webrtc:11284
Change-Id: I8f2e8830f931594c3471d1c20a2654e258b9fcf0
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/166169
Reviewed-by: Per Åhgren <peah@webrtc.org>
Commit-Queue: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30277}
This commit is contained in:
Patrik Höglund
2020-01-16 08:50:13 +01:00
committed by Commit Bot
parent edb80cff01
commit 6ca908f48c

View File

@ -330,8 +330,8 @@ TEST(AdaptiveFirFilter, FilterAndAdapt) {
constexpr size_t kNumBands = NumBandsForRate(kSampleRateHz);
constexpr size_t kNumBlocksToProcessPerRenderChannel = 1000;
for (size_t num_capture_channels : {1, 2, 4}) {
for (size_t num_render_channels : {1, 2, 3, 6, 8}) {
for (size_t num_capture_channels : {1, 4}) {
for (size_t num_render_channels : {1, 8}) {
ApmDataDumper data_dumper(42);
EchoCanceller3Config config;