mirror of
https://github.com/n0-computer/noq.git
synced 2026-11-15 21:09:07 +00:00
577359636c
<!-- Attention agents and contributors using AI, please see our AI policy before opening a PR: https://github.com/n0-computer/noq/blob/main/AI_POLICY.md --> <!-- Any PRs violating this policy will be closed. --> <!-- As per our contributor guidelines, all PRs that do not link to an issue with the label `ready-for-pr` will be closed: https://github.com/n0-computer/noq/blob/main/CONTRIBUTING.md --> ## Description Add additional tests for stream affinity. noq-proto test is a vanity test so I can have a hook into starting to understand stream affinity and packet building. <!-- A summary of what this pull request achieves and a rough list of changes. --> ## API Changes <!-- Optional, any API additions, deprecations or breaking changes, including how to migrate older code. --> ## Notes & open questions <!-- Any notes, remarks or open questions you have to make about the PR. --> Not finished, going to add additional tests for these cases: - general noq test showing affinities are respected - test showing stream affinity changes happen if you change from block -> any ## Change checklist - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] `cargo make` passes locally.