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
+++ b/quic_ciphers.t
@@ -89,9 +89,14 @@ is(get("\x13\x02\x13\x01"), 'TLS_AES_256
 # 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
+++ b/quic_retry.t
@@ -108,6 +108,9 @@ is($frame->{error}, 11, 'retry token inv
 
 # 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 @@ substr($retry_token, 32) ^= "\xff";
 ($frame) = grep { $_->{type} eq "CONNECTION_CLOSE" } @$frames;
 is($frame->{error}, 11, 'retry token decrypt error');
 
+}
+
 ###############################################################################