pabot icon indicating copy to clipboard operation
pabot copied to clipboard

Retry option

Open mkorpela opened this issue 2 years ago • 1 comments

After failure, N times try again.

mkorpela avatar Jul 28 '22 21:07 mkorpela

using pabot combined with rebot is not sufficient? first run: pabot --testlevelsplit --processes 4 -L DEBUG --output run_parallel.xml -d results testdir/ second run: pabot --testlevelsplit --processes 4 -L DEBUG --rerunfailed results/run_parallel.xml --output rerun_parallel.xml testdir/ merge results: rebot -R --outputdir results/ --output run_parallel.xml --merge results/run_parallel.xml results/rerun_parallel.xml

I'm also thinking that running tests twice with two failures means that test needs to rewritten and running it for the 3,4,5th time is just some kind of anti-pattern.

MarcinGmurczyk avatar Aug 30 '22 19:08 MarcinGmurczyk