aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@soleta.eu>2015-07-21 10:31:44 +0200
committerPablo Neira Ayuso <pablo@soleta.eu>2015-07-21 11:05:40 +0200
commitb8bdc290d091452e33f87f4756a103eb06fd5403 (patch)
tree281e1501ceb146b0002f435338d8bee7a4a72b59
parent386e7755a773271873b2abbcb49d2c6ca9bd3b48 (diff)
tests: osmux: validate dummy padding with no voice data interaction
Make sure that early dummy bandwitch preallocation works fine in the absence of any kind of voice traffic.
-rw-r--r--tests/osmux/osmux_test.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/osmux/osmux_test.c b/tests/osmux/osmux_test.c
index 09ef9fd..0ad02d3 100644
--- a/tests/osmux/osmux_test.c
+++ b/tests/osmux/osmux_test.c
@@ -191,6 +191,10 @@ int main(void)
osmux_xfrm_input_open_circuit(&h_input, 2, 1);
osmux_xfrm_input_open_circuit(&h_input, 3, 1);
+ /* Wait 10 times to make sure dummy padding timer works fine */
+ for (i = 0; i < 10; i++)
+ osmo_select_main(0);
+
/* Start pushing voice data to circuits 0 and 1 */
osmux_test_loop(0);
/* ... now start pushing voice data to circuits 2 and 3. This circuits