Re: [pytest-dev] xdist and data sharing during execution in parallel

2014-09-23 Thread Anatoly Bubenkov
I would just use something like redis for that, seriously Don't overcomplicate things in pytest-xdist As a side note, if you need the communication between the tests, then you're probably doing something wrong, as it's the rule of thumb - tests cannot share state with other tests On 17 September 2

Re: [pytest-dev] xdist and data sharing during execution in parallel

2014-09-23 Thread Bruno Oliveira
Hi Ayelet, According to http://codespeak.net/execnet/example/hybridpython.html#dumps-loads-examples, execnet only supports built-in types, so trying to send `node.config.global_data` to the slaves won't work. I'm assuming that `PersistentDict` is similar to `shelve`, so another option would be to

Re: [pytest-dev] pytest-xdist-1.11: restarting crash nodes, fixture cache fix

2014-09-23 Thread holger krekel
Hi Andreas, On Mon, Sep 22, 2014 at 22:03 +0200, Andreas Pelme wrote: > Hi Holger, > > On 19 sep 2014, at 09:52, holger krekel wrote: > > I presume that with module and class scope people don't presume that > > a fixture survives until the end of a process so eager teardown is less > > of a prob