FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-150191: temporarily skip two openssl tests which have internal data races under TSAN by kumaraditya303 · Pull Request #153320 · python/cpython · GitHub

/ cpython Public
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .py  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
6 changes: 6 additions & 0 deletions Lib/test/test_ssl.py
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
Original file line number Diff line number Diff line change
Expand Up @@ -1604,6 +1604,9 @@ def dummycallback(sock, servername, ctx, cycle=ctx):
gc.collect()
self.assertIs(wr(), None)

@support.skip_if_sanitizer("gh-150191: OpenSSL has an internal data race "
"when the SNI callback is replaced during a "
"handshake", thread=True)
@threading_helper.requires_working_threading()
def test_sni_callback_race(self):
# Replacing sni_callback while a handshake is in-flight must not
Expand Down Expand Up @@ -5045,6 +5048,9 @@ def server_callback(identity):
with client_context.wrap_socket(socket.socket()) as s:
s.connect((HOST, server.port))

@support.skip_if_sanitizer("gh-150191: OpenSSL races on SSL->rwstate and "
"the socket BIO flags with concurrent read "
"and write", thread=True)
def test_thread_recv_while_main_thread_sends(self):
# GH-137583: Locking was added to calls to send() and recv() on SSL
# socket objects. This seemed fine at the surface level because those
Expand Down
Loading

Back | FazBrowse Home | New Git URL