gauge icon indicating copy to clipboard operation
gauge copied to clipboard

--failed performs retry for passed tests with --max-retry-count flag

Open jonathangiber opened this issue 3 years ago • 0 comments

When max-retry-count is enabled and after that a gauge run --failed is performed, specs that passed with --max-retry-count will be executed anyway as if they failed.

To Reproduce

  1. Perform an execution with max-retry-count=2
  2. Some tests will pass after 1 retry
  3. Perform gauge run --failed
  4. Failed tests and those who passed with max-retry-count=2 will execute

Expected behavior I would expect that only tests that completely failed would be triggered by --failed

Your Environment Information ----------- linux, 1.4.1, a82478a html-report (4.1.2), java (0.7.9), json-report (0.3.1), spectacle (0.1.4), xml-report (0.2.3)

jonathangiber avatar Nov 09 '21 12:11 jonathangiber