Mercurial > hg > nginx-tests
changeset 1919:161dc73812b3
Tests: keep QUIC TODOs for a while.
To pass tests on the latest development release.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Mon, 10 Jul 2023 18:30:08 +0400 |
parents | 22f45bf99a9e |
children | 79ca9ab75310 |
files | quic_ciphers.t quic_retry.t |
diffstat | 2 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/quic_ciphers.t Fri Jun 23 14:52:34 2023 +0400 +++ b/quic_ciphers.t Mon Jul 10 18:30:08 2023 +0400 @@ -89,9 +89,14 @@ # prefer TLS_AES_128_CCM_SHA256 with fallback to GCM, # the cipher is enabled by default in some distributions +TODO: { +todo_skip 'not yet', 1 unless $t->has_version('1.25.2'); + like(get("\x13\x04\x13\x01"), qr/TLS_AES_128_[GC]CM_SHA256/, 'TLS_AES_128_CCM_SHA256'); +} + ############################################################################### sub get {
--- a/quic_retry.t Fri Jun 23 14:52:34 2023 +0400 +++ b/quic_retry.t Mon Jul 10 18:30:08 2023 +0400 @@ -108,6 +108,9 @@ # connection with retry token, corrupted +TODO: { +local $TODO = 'not yet' unless $t->has_version('1.25.2'); + substr($retry_token, 32) ^= "\xff"; $s = Test::Nginx::HTTP3->new(8980, token => $retry_token, probe => 1); $frames = $s->read(all => [{ type => 'CONNECTION_CLOSE' }]); @@ -115,4 +118,6 @@ ($frame) = grep { $_->{type} eq "CONNECTION_CLOSE" } @$frames; is($frame->{error}, 11, 'retry token decrypt error'); +} + ###############################################################################