I have some flickering specs (integration specs that rely on browser / JS).
One way to avoid these flickering tests from stopping the workflow and requiring me to do a rerun, is to have a step that runs the test suite again for the specs that failed:
But it is not as explicit why I’m doing this, the 2nd rspec command will run every time, even when the 1st run had no errors (taking up some seconds of job execution), and perhaps the job spec has some config that fits this use case.
Hi Nuno. I think this feature request https://ideas.circleci.com/ideas/CCI-I-558 is what you are looking for. If it’s not, can you create a new one explain your use case for our product team to take a look at?
Maybe, but it depends on whether that would be easier (to read or write) than shell scripting. Shell scripting is well known and well tested, and not having a specialised syntax means there’s less for CircleCI to maintain.