This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch 9.2.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/9.2.x by this push:
     new ad17ca561 Update to Proxy Verifier v2.3.3 (#8868)
ad17ca561 is described below

commit ad17ca5615b96bafeffd50aa642f15694ec9d29f
Author: Brian Neradt <brian.ner...@gmail.com>
AuthorDate: Thu May 26 13:02:00 2022 -0500

    Update to Proxy Verifier v2.3.3 (#8868)
    
    Proxy Verifier v2.3.3 adds a chunk verification check that makes the
    bad_chunked_encoding AuTest more resilient to timing issues.
    
    (cherry picked from commit c5e17144e5bec5ef2b9ed31321fef5a85daba69f)
---
 tests/gold_tests/chunked_encoding/bad_chunked_encoding.test.py | 8 ++++----
 tests/prepare_proxy_verifier.sh                                | 2 +-
 tests/proxy-verifier-version.txt                               | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/tests/gold_tests/chunked_encoding/bad_chunked_encoding.test.py 
b/tests/gold_tests/chunked_encoding/bad_chunked_encoding.test.py
index 71b0cb4ca..f5c3002d0 100644
--- a/tests/gold_tests/chunked_encoding/bad_chunked_encoding.test.py
+++ b/tests/gold_tests/chunked_encoding/bad_chunked_encoding.test.py
@@ -132,10 +132,10 @@ class MalformedChunkHeaderTest:
         # because ATS will close the connection due to the malformed
         # chunk headers.
         self.server.Streams.stdout += Testers.ContainsExpression(
-            "Header write for key 1 failed",
+            "Unexpected chunked content for key 1: too small",
             "Verify that writing the first response failed.")
         self.server.Streams.stdout += Testers.ContainsExpression(
-            "Header write for key 2 failed",
+            "Unexpected chunked content for key 2: too small",
             "Verify that writing the second response failed.")
 
         # ATS should close the connection before any body gets through. "abc"
@@ -181,10 +181,10 @@ class MalformedChunkHeaderTest:
         # code from the verifier client.
         tr.Processes.Default.ReturnCode = 1
         tr.Processes.Default.Streams.stdout += Testers.ContainsExpression(
-            "Failed HTTP/1 transaction with key: 3",
+            r"(Unexpected chunked content for key 3: too small|Failed HTTP/1 
transaction with key: 3)",
             "Verify that ATS closed the third transaction.")
         tr.Processes.Default.Streams.stdout += Testers.ContainsExpression(
-            "Failed HTTP/1 transaction with key: 4",
+            r"(Unexpected chunked content for key 4: too small|Failed HTTP/1 
transaction with key: 4)",
             "Verify that ATS closed the fourth transaction.")
 
         # ATS should close the connection before any body gets through. "def"
diff --git a/tests/prepare_proxy_verifier.sh b/tests/prepare_proxy_verifier.sh
index 3c75883ac..e1ddf9948 100755
--- a/tests/prepare_proxy_verifier.sh
+++ b/tests/prepare_proxy_verifier.sh
@@ -27,7 +27,7 @@ pv_dir="${pv_name}-${pv_version}"
 pv_tar_filename="${pv_dir}.tar.gz"
 pv_tar="${pv_top_dir}/${pv_tar_filename}"
 pv_tar_url="https://ci.trafficserver.apache.org/bintray/${pv_tar_filename}";
-expected_sha1="d602c299d1f1336c4970529ab7fef7afbbb8723b"
+expected_sha1="6452445f2e53be13000d044696eeac2c362d8aa3"
 pv_client="${bin_dir}/verifier-client"
 pv_server="${bin_dir}/verifier-server"
 TAR=${TAR:-tar}
diff --git a/tests/proxy-verifier-version.txt b/tests/proxy-verifier-version.txt
index aaf7425f4..fac9fc04e 100644
--- a/tests/proxy-verifier-version.txt
+++ b/tests/proxy-verifier-version.txt
@@ -1 +1 @@
-v2.3.1
+v2.3.3

Reply via email to