-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(client): simplify keyupdate testcase implementation (#1808)
The QUIC Interop Runner `keyupdate` testcase has a client establish a connection to the server and then trigger a key update. https://github.com/quic-interop/quic-interop-runner/blob/2a2534a1284d50d99ff92884d4f1ecf98fb41e4c/testcases.py#L889 This testcase always uses the `http09` client and server implementation. This commit simplifies the testcase implementation: - Given that it is only used with `http09`, move it to `http09.rs`. - Reduce the `KeyUpdateState` `struct` to a single `bool`. - Mark the `--key-update` command line argument as hidden, given that it is only set indirectly through the `-t keyupdate` flag. - Try to run `client.initiate_key_update` on events only, not on ever new received datagram. In addition it enables the `keyupdate` test on the Neqo `qns.yml` CI workflow.
- Loading branch information
Showing
4 changed files
with
28 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters