diff options
author | drebs <drebs@riseup.net> | 2017-09-09 15:31:49 -0300 |
---|---|---|
committer | Victor Shyba <victor1984@riseup.net> | 2017-09-11 16:24:30 -0300 |
commit | 89dd40d77fbd602a415e5ae673d4166e1b432428 (patch) | |
tree | b6982a2ea42ff6842ff1cf54dcd320cdde368e05 /docs/development.rst | |
parent | 8e6cddf794c4b0e44bec6daa4363f2926e238f0a (diff) |
[test] selectivelly start events server on benchmarks
Soledad's events server might be a pain for tests because if it is not
properly initialized and shut down there might be parts of the server
missing or leftover in the reactor after tests are run. With the recent
changes to the way tests are invocated, there's the need to further
isolate events server startup for benchmarks, otherwise it will conflict
with other tests. This commit moves the events server setup to inside
the pytest_collection_modifyitems() hook, where we can check if the
benchmark subdir was selected and properly start the events server if
needed.
Diffstat (limited to 'docs/development.rst')
0 files changed, 0 insertions, 0 deletions