File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,20 @@ new socket host with something like this::
6666 pytest -d --tx socket=192.168.1.102:8888 --rsyncdir mypkg
6767
6868
69+ Using proxies to run multiple workers on remote machines
70+ ---------------------------------------
71+
72+ In case you want to run multiple workers on a remote machine,
73+ you can create a proxy gateway for the machine, and run multiple
74+ workers using the `via ` attribute.::
75+
76+ pytest -d --px id=my_proxy//socket=192.168.1.102:8888 --tx 5*popen//via=my_proxy
77+
78+ Here we declare a proxy gateway using the `--px ` arg, and
79+ create 5 workers that run on the remote server using the proxy.
80+ Note that the proxy gateway does not run a worker, thus only 5
81+ workers are created.
82+
6983
7084Running tests on many platforms at once
7185---------------------------------------
You can’t perform that action at this time.
0 commit comments