<div dir="ltr">yes per testing subprocess, as i've already asked in the comments section on the paylogic developer portal, im waiting for your confirmation that's NOT by design that we were getting multiple test sessions per test subprocess<div>so i'll need to fix the article then</div><div>BTW: now im reading the code again, it looks like even with randomization plugin it should not matter? </div></div><div class="gmail_extra"><br><div class="gmail_quote">On 18 September 2014 20:31, holger krekel <span dir="ltr"><<a href="mailto:holger@merlinux.eu" target="_blank">holger@merlinux.eu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Sep 18, 2014 at 20:24 +0200, Anatoly Bubenkov wrote:<br>
> so, this is again guaranteed that there will be only one session per test<br>
> run on any test slave?<br>
<br>
</span>there is always one session object only but i think you are asking if a<br>
session-scoped fixture will only be instantiated once per testing<br>
subprocess, right?  In general this should be the case if i am not missing<br>
something (when you use a test randomization plugin, then it's probably<br>
not the case).<br>
<br>
best,<br>
holger<br>
<div class="HOEnZb"><div class="h5"><br>
> On 18 September 2014 20:23, Anatoly Bubenkov <<a href="mailto:bubenkoff@gmail.com">bubenkoff@gmail.com</a>> wrote:<br>
><br>
> > Great!<br>
> > thanks a lot everyone involved<br>
> ><br>
> > On 18 September 2014 20:21, holger krekel <<a href="mailto:holger@merlinux.eu">holger@merlinux.eu</a>> wrote:<br>
> ><br>
> >><br>
> >> I just released pytest-xdist-1.11, the distributed testing plugin for<br>
> >> pytest.<br>
> >> It introduces automatic restarting of crashed nodes, courtesy of a<br>
> >> complete PR from Floris Bruynooghe.  This also works well together with<br>
> >> pytest-timeout by the same author: When one or more test functions hang<br>
> >> or crash, the overall test run will still complete and report about the<br>
> >> incidents.  See the changelog below for more changes and the pypi<br>
> >> project page for what pytest-xdist offers in general:<br>
> >><br>
> >>     <a href="https://pypi.python.org/pypi/pytest-xdist/" target="_blank">https://pypi.python.org/pypi/pytest-xdist/</a><br>
> >><br>
> >> Thanks also to an undisclosed company who partly funded the work<br>
> >> and to Andreas Pelme for contributing analysis of a fixture caching<br>
> >> failure including a test.<br>
> >><br>
> >> best,<br>
> >> Holger Krekel<br>
> >><br>
> >><br>
> >> 1.11<br>
> >> -------------------------<br>
> >><br>
> >> - fix pytest/xdist issue485 (also depends on py-1.4.22):<br>
> >>   attach stdout/stderr on --boxed processes that die.<br>
> >><br>
> >> - fix pytest/xdist issue503: make sure that a node has usually<br>
> >>   two items to execute to avoid scoped fixtures to be torn down<br>
> >>   pre-maturely (fixture teardown/setup is "nextitem" sensitive).<br>
> >>   Thanks to Andreas Pelme for bug analysis and failing test.<br>
> >><br>
> >> - restart crashed nodes by internally refactoring setup handling<br>
> >>   of nodes.  Also includes better code documentation.<br>
> >>   Many thanks to Floris Bruynooghe for the complete PR.<br>
> >><br>
> >> _______________________________________________<br>
> >> Pytest-dev mailing list<br>
> >> <a href="mailto:Pytest-dev@python.org">Pytest-dev@python.org</a><br>
> >> <a href="https://mail.python.org/mailman/listinfo/pytest-dev" target="_blank">https://mail.python.org/mailman/listinfo/pytest-dev</a><br>
> >><br>
> ><br>
> ><br>
> ><br>
> > --<br>
> > Anatoly Bubenkov<br>
> ><br>
><br>
><br>
><br>
> --<br>
> Anatoly Bubenkov<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Anatoly Bubenkov<br></div>
</div>