diff options
author | Pablo Neira Ayuso <pablo@gnumonks.org> | 2013-12-16 11:59:01 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@gnumonks.org> | 2013-12-16 12:55:26 +0100 |
commit | fe9823b6d5c6bfd057a6d2679f29e3ab5423aec5 (patch) | |
tree | 71682452116411f3b2066d2cc09b329ce24b3398 /tests/osmux | |
parent | 078d532930abb402e949f455ec143ba4ebef2ab4 (diff) |
tests: osmux: no need to skip RTP message anymore
With the fan-out approach to test multi-batch added int (078d532 tests:
osmux: test multi-batch support), this doesn't need the explicit
skip as there are already gaps to be filled.
Diffstat (limited to 'tests/osmux')
-rw-r--r-- | tests/osmux/osmux_test.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/osmux/osmux_test.c b/tests/osmux/osmux_test.c index 53c33c4..dae9aa2 100644 --- a/tests/osmux/osmux_test.c +++ b/tests/osmux/osmux_test.c @@ -148,16 +148,14 @@ int main(void) rtph->sequence = htons(seq); osmo_rtp_snprintf(buf, sizeof(buf), msg); - fprintf(stderr, "adding %s\n", buf); + fprintf(stderr, "adding to ccid=%u %s\n", i % 2, buf); rtp_pkts++; - /* Intentionally skip RTP message to test replay RTP */ - if (i % 3 == 0) - continue; - k++; /* Fan out RTP packets between two circuit IDs to test - * multi-batch support. + * multi-batch support. Mind that this approach implicitly add + * gaps between two messages to test the osmux replaying + * feature. */ osmux_xfrm_input(&h_input, msg, i % 2); |