TestNG retries are marked as Skipped and the test itself is not marked as Flaky Test
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Inizia riproducendo il comportamento con il RetryAnalyzerImpl fornito e il test TestNG usando allure-testng 2.13.3, quindi traccia come vengono classificati i tentativi nella integrazione TestNG e nell’output del report. Il lavoro è completo quando i tentativi falliti non vengono riportati come ignorati e il test mostra l’indicatore Flaky Test.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I'm submitting a ...
- bug report
- feature request
- support request => Please do not submit support request here, see note at the top of this template.
What is the current behavior?
Tests that failed and then success after re-run using TestNG retryAnalyzer marked as skipped and not showing the Flaky Test (bomb) icon.


If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
The retry impl class
public class RetryAnalyzerImpl implements IRetryAnalyzer {
private int maxRetryCount = 3;
private int retryCount = 0;
public boolean retry(ITestResult result) {
if (retryCount < maxRetryCount) {
retryCount++;
return true;
}
return false;
}
}
The test method
@Test(retryAnalyzer= RetryAnalyzerImpl.class)
public void VerifyRetrievePublicaAndActiveCommunity(){
int i = ThreadLocalRandom.current().nextInt(0, 2);
System.out.println(i);
Assert.assertEquals(i,0);
}
What is the expected behavior?
The retries are marked as Failed correctly. And the tests are marked as Flaky.
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
| Allure version | 2.13.3 |
| Test framework | [email protected] |
| Allure integration | [email protected] |
| Generate report using | allure windows [email protected] |
Other information
- Lingua principale
- Java
- Stelle
- 376
- Fork
- 241
- Merge medio
- 1g 14h
- PR unite (30g)
- 37
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di allure-framework/allure-java
-
AllureSelenide should use Selenide's screenshot implementation instead of Selenium WebDriver's implementationForse già presa @USSQA l’ha presa 19 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
allure-framework/allure-java#1439 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
allure-framework/allure-java#1451 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 45/100
allure-framework/allure-java#1446 ·
I maintainer di solito rispondono entro 1 giorno
-
Add precondition method and annotation for update precondition field in test case from test resultAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 45/100
allure-framework/allure-java#1355 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 52/100
allure-framework/allure-java#1322 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di allure-framework/allure-java
Issue simili
-
[destination-snowflake] Custom domains rejected unlike source connectionsForse già presa @kuza55 l’ha presa oggi. Apertaautoteam community connectors/destination/snowflake team/use
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
area-dashboard
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
component/operate kind/feature-request
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
Forge coverage prompts carry text the agent cannot act onForse già presa @graalvmbot l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
oracle/graalvm-reachability-metadata#10572 ·
I maintainer di solito rispondono entro 1 giorno
-
Bundled migration plansAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
IBM/sample-app-mod#55 ·