pytest-xdist icon indicating copy to clipboard operation
pytest-xdist copied to clipboard

Do we have any way to prevent the mutual interference between 2 gw

Open pppppino opened this issue 2 years ago • 0 comments

Hi, I choose "--dist loadgroup" as my distribution strategy and I set 2 groups by @pytest.mark.xdist_group("group1"), and it do works at the beginning.

However, I can not control the time consumption of 2 groups, when the cases in gw0 finished(cases in gw1 is still running), I found that gw0 will run cases in gw1, which will broken my run!

So, do we have any way to prevent it, which means, when cases in gw0 finished, let it finished, and make it do not disturb my cases in gw1

pppppino avatar Nov 22 '23 02:11 pppppino