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

[3.13] gh-117657: Skip tests that fork with threads under TSan (GH-121599) by miss-islington · Pull Request #121819 · 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
3 changes: 3 additions & 0 deletions Lib/test/test_logging.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 @@ -3971,6 +3971,7 @@ def test_config_queue_handler_invalid_config_does_not_create_multiprocessing_man
)
manager.assert_not_called()

@skip_if_tsan_fork
@support.requires_subprocess()
def test_multiprocessing_queues(self):
# See gh-119819
Expand Down Expand Up @@ -4283,6 +4284,7 @@ def test_queue_listener_with_multiple_handlers(self):
import multiprocessing
from unittest.mock import patch

@skip_if_tsan_fork
@threading_helper.requires_working_threading()
class QueueListenerTest(BaseTest):
"""
Expand Down Expand Up @@ -5183,6 +5185,7 @@ def _extract_logrecord_process_name(key, logMultiprocessing, conn=None):
else:
return results

@skip_if_tsan_fork
def test_multiprocessing(self):
support.skip_if_broken_multiprocessing_synchronize()
multiprocessing_imported = 'multiprocessing' in sys.modules
Expand Down

Back | FazBrowse Home | New Git URL