From c45c0b149065af0f0ed6b07da83075a022030403 Mon Sep 17 00:00:00 2001 From: David Henningsson Date: Thu, 16 Oct 2014 12:24:19 +0200 Subject: [PATCH] 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 --- src/tests/connect-stress.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/tests/connect-stress.c b/src/tests/connect-stress.c index 0cf072d91..48d015b48 100644 --- a/src/tests/connect-stress.c +++ b/src/tests/connect-stress.c @@ -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