aboutsummaryrefslogtreecommitdiffstats
path: root/tests/osmux/osmux_test.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2013-05-27 11:12:52 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2013-05-27 11:19:35 +0200
commitdd24cdd95f3fb8c8f9f4ca33d911665391edc790 (patch)
treeb69ecbedd5f908907e7c5aac96b1a57b0f17cd20 /tests/osmux/osmux_test.c
parent8c1f31a3dc4bbfaee1196cf97771ffa210911e1b (diff)
tests: osmux-test: double timing validation threshold
Double timing validation to avoid hitting errors easily.
Diffstat (limited to 'tests/osmux/osmux_test.c')
-rw-r--r--tests/osmux/osmux_test.c2
1 files changed, 1 insertions, 1 deletions
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);
}