Parallel testing with selenium + nose

I try to run functional tests in parallel with a multiprocessor plugin that sometimes raises a random TimeoutException

my tests are very simple, each of them just goes to the web page and checks if any element exists.

Does anyone know what could be causing?

thanks

+4
source share
1 answer

Try running nosetests with a -process-timeout value set to something more than your tests would be reasonable:

nosetests --processes = 2 --process-timeout = 120

+6
source

Source: https://habr.com/ru/post/1438764/


All Articles