mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +02:00
Bug 505743: Improve stderr output on intermittent tests
Change-Id: Ia1a9cdcb5dc05ab051a5c5b3d2d2d20d32e9154b
This commit is contained in:
parent
8be69a5985
commit
b6cb657229
1 changed files with 5 additions and 1 deletions
|
@ -5929,7 +5929,11 @@ public class AST2Tests extends AST2TestBase {
|
|||
lastException = new Exception("Attempted intermittent test " + RETRY_INTERMITTENT_COUNT
|
||||
+ " times and it failed each time. Nested exception is last exception."
|
||||
+ "Previous exceptions are on stderr", e);
|
||||
System.err.println("IntermittentTest failed, exception was:");
|
||||
if (i < RETRY_INTERMITTENT_COUNT) {
|
||||
System.err.println("Intermittent test failed, test will be re-tried. Exception was:");
|
||||
} else {
|
||||
System.err.println("Intermittent test failed on each retry, marking test failed. Exception was:");
|
||||
}
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue