Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some test failures on openssl 1.1.1 / Ubuntu 18.10 #820

Closed

Conversation

njsmith
Copy link
Member

@njsmith njsmith commented Dec 23, 2018

See #817

We don't have CI for this yet, but at least on my laptop it helps.
However, it doesn't fix everything.

Not sure if we should merge this as is, to at least cut down some of
the issues, or wait to try to deal with more of the session ticket
mess...

See python-trio#817

We don't have CI for this yet, but at least on my laptop it helps.
However, it doesn't fix everything.

- Add OP_ENABLE_MIDDLEBOX_COMPAT to the list of static ssl constants
- Handle SSLZeroReturnError in more places
- Fix some -- but not all -- of the places where session tickets cause
  failures. See python-trio#819
@codecov
Copy link

codecov bot commented Dec 23, 2018

Codecov Report

Merging #820 into master will decrease coverage by 0.03%.
The diff coverage is 85%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #820      +/-   ##
==========================================
- Coverage   99.01%   98.97%   -0.04%     
==========================================
  Files          94       94              
  Lines       11631    11643      +12     
  Branches      832      833       +1     
==========================================
+ Hits        11516    11524       +8     
- Misses         94       97       +3     
- Partials       21       22       +1
Impacted Files Coverage Δ
trio/ssl.py 100% <ø> (ø) ⬆️
trio/_ssl.py 97.89% <33.33%> (-1.05%) ⬇️
trio/tests/test_ssl.py 97.51% <94.11%> (-0.25%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5a03bee...03bfa3b. Read the comment docs.

@codecov
Copy link

codecov bot commented Dec 23, 2018

Codecov Report

Merging #820 into master will decrease coverage by 3.25%.
The diff coverage is 88.88%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #820      +/-   ##
==========================================
- Coverage   99.01%   95.75%   -3.26%     
==========================================
  Files          94      105      +11     
  Lines       11631    12789    +1158     
  Branches      832     1016     +184     
==========================================
+ Hits        11516    12246     +730     
- Misses         94      507     +413     
- Partials       21       36      +15
Impacted Files Coverage Δ
trio/ssl.py 100% <ø> (ø) ⬆️
trio/_ssl.py 99.36% <80%> (+0.43%) ⬆️
trio/tests/test_ssl.py 97.51% <94.11%> (-0.25%) ⬇️
trio/_core/tests/test_windows.py 33.33% <0%> (-66.67%) ⬇️
trio/_core/_windows_cffi.py 45.31% <0%> (-48.24%) ⬇️
trio/_core/_io_windows.py 44.29% <0%> (-33.87%) ⬇️
trio/hazmat.py 90.47% <0%> (-9.53%) ⬇️
trio/_core/__init__.py 96% <0%> (-4%) ⬇️
trio/__init__.py 100% <0%> (ø) ⬆️
... and 14 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5a03bee...03bfa3b. Read the comment docs.

@njsmith
Copy link
Member Author

njsmith commented Jan 7, 2019

Closing in favor of #841

@njsmith njsmith closed this Jan 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant