mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	gh-118729: Temporarily skip test_multiprocessing_pool_circular_import (#118732)
				
					
				
			The `pool_in_threads.py` test file may crash in free-threaded builds, which can lead to the Tsan test hanging. Skip it for now until we fix the underlying issue.
This commit is contained in:
		
							parent
							
								
									f58833ebf8
								
							
						
					
					
						commit
						2c19987db5
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		|  | @ -17,7 +17,7 @@ | ||||||
| from test.support import verbose | from test.support import verbose | ||||||
| from test.support.import_helper import forget, mock_register_at_fork | from test.support.import_helper import forget, mock_register_at_fork | ||||||
| from test.support.os_helper import (TESTFN, unlink, rmtree) | from test.support.os_helper import (TESTFN, unlink, rmtree) | ||||||
| from test.support import script_helper, threading_helper | from test.support import script_helper, threading_helper, requires_gil_enabled | ||||||
| 
 | 
 | ||||||
| threading_helper.requires_working_threading(module=True) | threading_helper.requires_working_threading(module=True) | ||||||
| 
 | 
 | ||||||
|  | @ -248,6 +248,9 @@ def test_concurrent_futures_circular_import(self): | ||||||
|                           'partial', 'cfimport.py') |                           'partial', 'cfimport.py') | ||||||
|         script_helper.assert_python_ok(fn) |         script_helper.assert_python_ok(fn) | ||||||
| 
 | 
 | ||||||
|  |     # gh-118727 and gh-118729: pool_in_threads.py may crash in free-threaded | ||||||
|  |     # builds, which can hang the Tsan test so temporarily skip it for now. | ||||||
|  |     @requires_gil_enabled("gh-118727: test may crash in free-threaded builds") | ||||||
|     def test_multiprocessing_pool_circular_import(self): |     def test_multiprocessing_pool_circular_import(self): | ||||||
|         # Regression test for bpo-41567 |         # Regression test for bpo-41567 | ||||||
|         fn = os.path.join(os.path.dirname(__file__), |         fn = os.path.join(os.path.dirname(__file__), | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Sam Gross
						Sam Gross