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

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

2014-09-17 Thread Ayelet Regev
Hi, I'm creating a time-line based on pytest. im using xdist with multiple slaves (in the amount of the tests). Each test is started by time and dependency. which mean some of the gateways will be waiting for others to be "Done". for that, io need some data sharing between them all, and canno