tahoe-lafs/integration
Jean-Paul Calderone 1d32326659 Simpler, more correct process lifecycle handling.
The previous version included a bogus hack where we just passed
`allow_missing=True` when finalization was requested of `_run_node`.  This was
clearly wrong since if the caller asked for finalization, it's a programming
error for it to already have been done.

Fortunately we have a perfectly good finalizer already, `TahoeProcess.kill`,
which we can use instead of trying to craft a finalizer out of the various
pieces that make up that value.

Also, nothing seems to use the `_protocol` attribute set by `got_proto` so
let's just drop that.
2023-01-17 10:06:14 -05:00
..
2023-01-17 08:45:38 -05:00
2022-10-03 10:49:08 -04:00
2021-05-07 13:21:23 -04:00
2021-05-11 11:13:52 -04:00
2022-05-18 13:44:18 -04:00
2021-05-12 09:22:33 -04:00

Install:

   pip install -e .[test]

run:

   py.test -s -v integration/

If you want to keep the created temp-dir around:

   py.test --keep-tempdir -v integration/

The fixtures also set up a "flogtool gather" process and dump all the
logs from all the running processes (introducer, 5 storage nodes,
alice, bob) to a tempfile.