summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Henningsson <david.henningsson@canonical.com>2014-10-16 12:24:19 +0200
committerDavid Henningsson <david.henningsson@canonical.com>2014-10-16 12:25:49 +0200
commitc45c0b149065af0f0ed6b07da83075a022030403 (patch)
treea8206a73e5f94918b451ba5e54d34c1a36f014e4
parent9c135b998c4a64d28cd60c2b9f3e920d8f6a2462 (diff)
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>
-rw-r--r--src/tests/connect-stress.c8
1 files changed, 7 insertions, 1 deletions
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