Skip cases that uses the deprecated protocol TLS 1.1
#4229
Merged
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.
Description
The tests cases that use ssl protocol
TLS 1.1
were failing, doing fast research I found thatTLS 1.1
andTLS 1.2
were deprecated some time ago, and using TLS 1.1 causes unexpected internal errors on the pythonssl
library.First I tried to find a workaround to make
TLS 1.1
work I didn't succeed, then I tried to run the cases only when the host system has installed a version ofOpenSSL
where the protocols are still supported, but that took me a lot of time and I still wasn't sure the critearia was ok. So, after several hours doing research and testing, it was decided to skip theTLS 1.1
cases until the refactor of the test scenario.Updated
test_authd/test_authd_ssl_options.py
test_authd/data/enroll_ssl_options_tests.yaml
Testing performed
test_authd/test_authd_ssl_options.py
Ubuntu 20.04
test_authd/
Ubuntu 20.04