testng icon indicating copy to clipboard operation
testng copied to clipboard

IHookable Ignored When A Timeout Is Set

Open ryanlevell opened this issue 11 years ago • 0 comments

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.

ryanlevell avatar Jan 27 '15 16:01 ryanlevell