Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The actual number of allocated processes is incorrect with --dryrun and --processes options #590

Open
WendyInXian opened this issue Aug 5, 2024 · 1 comment · May be fixed by #597
Open

Comments

@WendyInXian
Copy link

Pabot version: 2.18.0
Robotframework Version: 7.0.1

Issue:

There are 4 suites in my project, when I tried to run the whole project with specified processes,
and --dryrun option.

The number of allocated processes will change according to the specified processes.

One process was assigned when --processes = 6

pabot --processes 6 --dryrun .
Storing .pabotsuitenames file
2024-08-05 20:22:31.535022 [PID:17340] [0] [ID:4] EXECUTING Cases.Suite-1 Cases.Suite-2 Cases.Suite-3 Cases.Suite-4
2024-08-05 20:22:33.173420 [PID:17340] [0] [ID:4] PASSED Cases.Suite-1 Cases.Suite-2 Cases.Suite-3 Cases.Suite-4 in 1.6 seconds
10 tests, 10 passed, 0 failed, 0 skipped.

Three process was assigned when --processes = 3

pabot --processes 3 --dryrun .
Storing .pabotsuitenames file
2024-08-05 20:25:14.262868 [PID:5396] [0] [ID:5] EXECUTING Cases.Suite-2
2024-08-05 20:25:14.264037 [PID:15956] [1] [ID:6] EXECUTING Cases.Suite-3
2024-08-05 20:25:14.264037 [PID:15168] [2] [ID:4] EXECUTING Cases.Suite-1
2024-08-05 20:25:15.186347 [PID:5396] [0] [ID:5] PASSED Cases.Suite-2 in 0.9 seconds
2024-08-05 20:25:15.207635 [PID:15956] [1] [ID:6] PASSED Cases.Suite-3 in 0.9 seconds
2024-08-05 20:25:15.190421 [PID:2476] [0] [ID:7] EXECUTING Cases.Suite-4
2024-08-05 20:25:15.231404 [PID:15168] [2] [ID:4] PASSED Cases.Suite-1 in 0.9 seconds
2024-08-05 20:25:16.425644 [PID:2476] [0] [ID:7] PASSED Cases.Suite-4 in 1.2 seconds
10 tests, 10 passed, 0 failed, 0 skipped.

@WendyInXian
Copy link
Author

cases.zip
Issue can be reproduced by the files in attatchment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant