92x autest updates#9952
Merged
zwoop merged 5 commits intoapache:9.2.xfrom Jul 5, 2023
Merged
Conversation
randall
approved these changes
Jul 5, 2023
* Fix forward-non-http autest for OpenSSL 3.0 * Fix tls-verify-override autest for OpenSSL 3.0 * Fix tls_client_versions autest with OpenSSL 3.0 * Update test-nc-s_client.sh Added an EOF to test-nc-s_client.sh (cherry picked from commit e6d2fb1) Conflicts: tests/gold_tests/tls/test-nc-s_client.sh
I ran autest on fedora:38 and noticed that all but three passed. This commit updates our autests to work with the newer openssl s_client and Python3.11. The most significant set of changes come from hyper being abandoned an no longer working on Python 3.11. This converts the ad-hoc clients we had written in hyper to the h2 framework. (cherry picked from commit 4310521)
The Python httpbin is no longer maintained and has dependency issues upon an old Werkzeug from which we would like to unpin. This converts our tests to using go-httpbin instead of the Python httpbin module. (cherry picked from commit 796391e) Conflicts: tests/gold_tests/proxy_protocol/gold/test_case_0_stdout.gold tests/gold_tests/proxy_protocol/gold/test_case_1_stdout.gold tests/gold_tests/proxy_protocol/gold/test_case_2_stdout.gold tests/gold_tests/proxy_protocol/gold/test_case_3_stderr.gold tests/gold_tests/proxy_protocol/gold/test_case_3_stdout.gold tests/gold_tests/proxy_protocol/gold/test_case_4_stderr.gold tests/gold_tests/proxy_protocol/gold/test_case_4_stdout.gold
go-httpbin@v2.6.0 fixes /bytes/0 to actually return 0 bytes. This patch accommodates our autests for that fix and any other behavioral changes. (cherry picked from commit a9cb994)
The global namespace destructor for the test_tsapi.cc used in tsapi.test.py would crash on shutdown. This does the cleanup in a shutdown handler rather than in the global namespace.
07136ea to
ba4573b
Compare
zwoop
approved these changes
Jul 5, 2023
masaori335
pushed a commit
to masaori335/trafficserver
that referenced
this pull request
Sep 26, 2023
* Fix autest for OpenSSL 3.0 (apache#9753) * Fix forward-non-http autest for OpenSSL 3.0 * Fix tls-verify-override autest for OpenSSL 3.0 * Fix tls_client_versions autest with OpenSSL 3.0 * Update test-nc-s_client.sh Added an EOF to test-nc-s_client.sh (cherry picked from commit e6d2fb1) Conflicts: tests/gold_tests/tls/test-nc-s_client.sh * Fix autests for fedora 38 (apache#9881) I ran autest on fedora:38 and noticed that all but three passed. This commit updates our autests to work with the newer openssl s_client and Python3.11. The most significant set of changes come from hyper being abandoned an no longer working on Python 3.11. This converts the ad-hoc clients we had written in hyper to the h2 framework. (cherry picked from commit 4310521) * Replace httpbin with go-httpbin (apache#9475) The Python httpbin is no longer maintained and has dependency issues upon an old Werkzeug from which we would like to unpin. This converts our tests to using go-httpbin instead of the Python httpbin module. (cherry picked from commit 796391e) Conflicts: tests/gold_tests/proxy_protocol/gold/test_case_0_stdout.gold tests/gold_tests/proxy_protocol/gold/test_case_1_stdout.gold tests/gold_tests/proxy_protocol/gold/test_case_2_stdout.gold tests/gold_tests/proxy_protocol/gold/test_case_3_stderr.gold tests/gold_tests/proxy_protocol/gold/test_case_3_stdout.gold tests/gold_tests/proxy_protocol/gold/test_case_4_stderr.gold tests/gold_tests/proxy_protocol/gold/test_case_4_stdout.gold * Updates for the new go-httpbin v2.6.0 release. (apache#9633) go-httpbin@v2.6.0 fixes /bytes/0 to actually return 0 bytes. This patch accommodates our autests for that fix and any other behavioral changes. (cherry picked from commit a9cb994) * Fix test_tsapi.cc shutdown crash The global namespace destructor for the test_tsapi.cc used in tsapi.test.py would crash on shutdown. This does the cleanup in a shutdown handler rather than in the global namespace. --------- Co-authored-by: midchildan <git@midchildan.org> (cherry picked from commit 92eebcd)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.