connect-stress-test: Fix number of streams per sink to "20"

This test broke when PA_MAX_INPUTS_PER_SINK was increased from 32 to 256.
Because we currently don't have time to figure out why, let's just set
NSTREAMS to 20 in the meantime.

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
This commit is contained in:
David Henningsson 2014-10-16 12:24:19 +02:00
parent 9c135b998c
commit c45c0b1490

View file

@ -42,7 +42,13 @@
* which makes a non-error abort less likely (although still easily possible of
* playing >=3 streams outside of the test - including internal loopback, rtp,
* combine, remap streams etc.) */
#define NSTREAMS ((PA_MAX_INPUTS_PER_SINK/2) - 1)
/* #define NSTREAMS ((PA_MAX_INPUTS_PER_SINK/2) - 1) */
/* This test broke when PA_MAX_INPUTS_PER_SINK was increased from 32 to 256.
* Because we currently don't have time to figure out why, let's just set
* NSTREAMS to 20 in the meantime.
*/
#define NSTREAMS 20
#define NTESTS 1000
#define SAMPLE_HZ 44100