From dd24cdd95f3fb8c8f9f4ca33d911665391edc790 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Mon, 27 May 2013 11:12:52 +0200 Subject: tests: osmux-test: double timing validation threshold Double timing validation to avoid hitting errors easily. --- tests/osmux/osmux_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/osmux/osmux_test.c') diff --git a/tests/osmux/osmux_test.c b/tests/osmux/osmux_test.c index 44620cd..3003974 100644 --- a/tests/osmux/osmux_test.c +++ b/tests/osmux/osmux_test.c @@ -62,7 +62,7 @@ static void tx_cb(struct msgb *msg, void *data) timersub(&now, &last, &diff); last = now; - if (diff.tv_usec > 17000) { + if (diff.tv_usec > 2*17000) { fprintf(stdout, "lagging to deliver reconstructed RTP\n"); exit(EXIT_FAILURE); } -- cgit v1.2.3