summaryrefslogtreecommitdiffstats
path: root/src/tests/asyncq-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/asyncq-test.c')
-rw-r--r--src/tests/asyncq-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/asyncq-test.c b/src/tests/asyncq-test.c
index 538bbb17..eae8cce9 100644
--- a/src/tests/asyncq-test.c
+++ b/src/tests/asyncq-test.c
@@ -51,7 +51,7 @@ static void consumer(void *_q) {
void *p;
int i;
- sleep(1);
+ pa_msleep(1000);
for (i = 0;; i++) {
p = pa_asyncq_pop(q, TRUE);