From fe9823b6d5c6bfd057a6d2679f29e3ab5423aec5 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Mon, 16 Dec 2013 11:59:01 +0100 Subject: 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. --- tests/osmux/osmux_test.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'tests/osmux/osmux_test.c') 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); -- cgit v1.2.3