RetryAnalyser and testng version greater than 5.8

14 views
Skip to first unread message

Suresh Daniel

unread,
Nov 2, 2009, 8:06:12 PM11/2/09
to testng...@googlegroups.com
Hi

I am seeing that the tests that succeeded because of retry are included in the "failed" tests as well as in the "passed" tests in the IResultMap and in the testng-failed.xml file
This was not happening in 5.8 version of testng. I see this in 5.9 and in 5.10.

Anybody see the same?

Suresh


Suresh

unread,
Nov 3, 2009, 3:04:13 PM11/3/09
to testng-users
Hi Cedric

Any idea why in the new version of testng(5.9 and above) when a test
is retried using retryAnalyzer attribute, it is added to both "Failed"
and "Passed" list in the ITestResultMap?


Suresh

Cédric Beust ♔

unread,
Nov 3, 2009, 3:46:11 PM11/3/09
to testng...@googlegroups.com
Hi Suresh,

On Tue, Nov 3, 2009 at 12:04 PM, Suresh <suresh...@gmail.com> wrote:

Hi Cedric

Any idea why in the new version of testng(5.9 and above) when a test
is retried using retryAnalyzer attribute, it is added to both "Failed"
and "Passed" list in the ITestResultMap?

No.  I imagine the first attempt goes into the Failed bucket and the next one in Success, but obviously, there should be only one method in the final report, and it should be Success.

Can you file a bug on JIRA with some code that shows the issue?

Thanks!

--
Cédric


Reply all
Reply to author
Forward
0 new messages