summaryrefslogtreecommitdiff
path: root/test/nop.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/nop.c')
-rw-r--r--test/nop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/nop.c b/test/nop.c
index a37246b..7fe2455 100644
--- a/test/nop.c
+++ b/test/nop.c
@@ -37,6 +37,7 @@ static int test_single_nop(struct io_uring *ring)
goto err;
}
+ io_uring_cqe_seen(ring, cqe);
return 0;
err:
return 1;
@@ -75,6 +76,7 @@ static int test_barrier_nop(struct io_uring *ring)
printf("wait completion %d\n", ret);
goto err;
}
+ io_uring_cqe_seen(ring, cqe);
}
return 0;