# io_uring: don't assume completions order · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/45b62c4529ee76f0bb6e948626a7fa6a8024e243)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 45b62c4529ee76f0bb6e948626a7fa6a8024e243

Requested commit: 45b62c4529ee76f0bb6e948626a7fa6a8024e243

Commit: 45b62c4529ee76f0bb6e948626a7fa6a8024e243

Tree: 714e5518e98ec06ab2da7eb7890ba7831007922c

Author: Igor Anić

Committer: Andrew Kelley

## Message

```
io_uring: don't assume completions order

We are posting two submission (zero copy send and receive) and then
reading two completions. There is no guarantee that those completions
will be in the order of submissions.
This test was expecting fist send completion then receive.
Fix is allowing them to come other way too.

```

## Parents

- [0ba64e9ce3afcc400b55f7349c838e2d00e3c00d](https://git.cafe/gitcafe/zig/commit/0ba64e9ce3afcc400b55f7349c838e2d00e3c00d?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/45b62c4529ee76f0bb6e948626a7fa6a8024e243?format=markdown)
