Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IHookable Ignored When A Timeout Is Set #599

Closed
ryanlevell opened this issue Jan 27, 2015 · 0 comments
Closed

IHookable Ignored When A Timeout Is Set #599

ryanlevell opened this issue Jan 27, 2015 · 0 comments

Comments

@ryanlevell
Copy link

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.

juherr pushed a commit to juherr/testng that referenced this issue Jun 9, 2015
@juherr juherr closed this as completed in 8e84be5 Jun 13, 2015
cbeust added a commit that referenced this issue Jun 13, 2015
Issue #599: IHookable ignored when a timeout is set
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant