Skip to content

Commit

Permalink
fix: More green for the neqo fields in the interop runner (#1627)
Browse files Browse the repository at this point in the history
* fix: Only allow v1 for most interop runner runs

* Fix v2
  • Loading branch information
larseggert authored Feb 6, 2024
1 parent 816182f commit b16eaf9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions neqo-client/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1005,7 +1005,10 @@ async fn main() -> Res<()> {
let mut args = Args::from_args();

if let Some(testcase) = args.qns_test.as_ref() {
// Only use v1 for most QNS tests.
args.quic_parameters.quic_version = vec![VersionArg(Version::Version1)];
match testcase.as_str() {
// TODO: Add "ecn" when that is ready.
"http3" => {}
"handshake" | "transfer" | "retry" => {
args.use_old_http = true;
Expand Down Expand Up @@ -1034,6 +1037,8 @@ async fn main() -> Res<()> {
}
"v2" => {
args.use_old_http = true;
// Use default version set for this test (which allows compatible vneg.)
args.quic_parameters.quic_version.clear();
}
_ => exit(127),
}
Expand Down

0 comments on commit b16eaf9

Please sign in to comment.