testng
testng copied to clipboard
IHookable Ignored When A Timeout Is Set
When a timeout is set for a test, the overridden run method is not being executed by the IHookable test class. This was seen with the annotated timeout, the XML timeout, and using the annotation transformer to set the timeout.
It seems that this issue was seen earlier and the details can be read at testng-team/testng-googlecode#27.
As described in the link above, IHookable is only being used when the timeout is <= 0. In version 6.8.13 org.testng.internal.Invoker line #698.