mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 07:31:38 +00:00 
			
		
		
		
	bpo-33715: Fix multiprocessing test_wait_result() (GH-7971)
Increase timeouts from 10 seconds to 1 minute.
This commit is contained in:
		
							parent
							
								
									64737e9ae2
								
							
						
					
					
						commit
						492572715a
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -1482,9 +1482,9 @@ def test_wait_result(self):
 | 
				
			||||||
            p = self.Process(target=self._test_wait_result, args=(c, pid))
 | 
					            p = self.Process(target=self._test_wait_result, args=(c, pid))
 | 
				
			||||||
            p.start()
 | 
					            p.start()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            self.assertTrue(c.wait(10))
 | 
					            self.assertTrue(c.wait(60))
 | 
				
			||||||
            if pid is not None:
 | 
					            if pid is not None:
 | 
				
			||||||
                self.assertRaises(KeyboardInterrupt, c.wait, 10)
 | 
					                self.assertRaises(KeyboardInterrupt, c.wait, 60)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            p.join()
 | 
					            p.join()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue