Tests: compatibility with http2_max_requests removal.
diff --git a/h2_max_requests.t b/h2_max_requests.t
index c266c7f..40683bd 100644
--- a/h2_max_requests.t
+++ b/h2_max_requests.t
@@ -43,6 +43,7 @@
server_name localhost;
http2_max_requests 2;
+ keepalive_requests 2;
location / { }
}
@@ -51,7 +52,12 @@
EOF
$t->write_file('index.html', 'SEE-THAT' x 50000);
+
+# suppress deprecation warning
+
+open OLDERR, ">&", \*STDERR; close STDERR;
$t->run()->plan(10);
+open STDERR, ">&", \*OLDERR;
###############################################################################