ExecutionEnvironment (@NotNull final RunContentDescriptor lastRunDescriptor) { if (myTimesToRerunFailedTests == myCurrentRerunStep) { 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); logger.info(String.format("Starting iteration %s", myCurrentRerunStep)); myCurrentRerunStep++; return RerunFailedActionsTestTools.findRestartAction(lastRunDescriptor); }