timeouted tests should fail instead of skip
Change-Id: I8828ee3ffc0d3660b1cdf07bfb46ab60440585b6
This commit is contained in:
		@@ -120,10 +120,8 @@ class TestRunnerTimeoutManager(tobiko.SharedFixture):
 | 
				
			|||||||
        if self.deadline is not None:
 | 
					        if self.deadline is not None:
 | 
				
			||||||
            time_left = self.deadline - tobiko.time()
 | 
					            time_left = self.deadline - tobiko.time()
 | 
				
			||||||
            if time_left <= 0.:
 | 
					            if time_left <= 0.:
 | 
				
			||||||
                pytest.skip(
 | 
					                tobiko.fail('Test runner execution timed out after '
 | 
				
			||||||
                    f"Test runner execution timed out after {self.timeout} "
 | 
					                            f'{self.timeout} seconds')
 | 
				
			||||||
                    f"seconds",
 | 
					 | 
				
			||||||
                    allow_module_level=True)
 | 
					 | 
				
			||||||
            else:
 | 
					            else:
 | 
				
			||||||
                LOG.debug('Test runner timeout is enabled: '
 | 
					                LOG.debug('Test runner timeout is enabled: '
 | 
				
			||||||
                          f'{time_left} seconds left')
 | 
					                          f'{time_left} seconds left')
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user