mkorpela / pabot

Parallel executor for Robot Framework test cases.
https://pabot.org
Apache License 2.0
476 stars 152 forks source link

Pabot ordering file groups do not work correctly when using --suite command line argument #581

Open jaltendorfer opened 6 months ago

jaltendorfer commented 6 months ago

I have a directory (/tmp/testsuites) with the following files:

My ordering file (/tmp/order) looks like this:

--suite 01-Suite
{
--suite 02-Suite
--suite 03-Suite
}

My pabot command:

cd /tmp/testsuites && pabot --processes 2 --ordering /tmp/order --name "MyExecution" --suite 01-Suite --suite 02-Suite --suite 03-Suite .

I expect that first process executes the suite 01-Suite and the second process the suites 02-Suite and 03-Suite. However, the second process (ordering group) executes all suites that are specified with the --suite command line argument (the suites 01-Suite, 02-Suite and 03-Suite are executed in the group). With this, the suite 01-Suite is executed twice.