mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Test logging improved
It is always fail to rerun 0 tests: use error instead of warning
This commit is contained in:
@@ -205,11 +205,8 @@ public class PyAbstractTestProcessRunner<CONF_T extends AbstractPythonRunConfigu
|
||||
return null;
|
||||
}
|
||||
|
||||
assert getFailedTestsCount() > 0: String.format("No failed tests on iteration %d, not sure what to rerun", myCurrentRerunStep);
|
||||
final Logger logger = Logger.getInstance(PyAbstractTestProcessRunner.class);
|
||||
if (getFailedTestsCount() == 0) {
|
||||
logger
|
||||
.warn(String.format("No failed tests on iteration %d, not sure what to rerun", myCurrentRerunStep));
|
||||
}
|
||||
logger.info(String.format("Starting iteration %s", myCurrentRerunStep));
|
||||
|
||||
myCurrentRerunStep++;
|
||||
|
||||
Reference in New Issue
Block a user