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
..
vectors Be able to load the data 2023-01-17 08:45:38 -05:00
__init__.py Adding to the py.test integration tests, this: 2016-10-18 18:06:41 -07:00
conftest.py Only run the very slow new integration test in one CI job 2023-01-17 09:27:17 -05:00
README Move check_magicfolder_smoke.py to proper integration tests 2016-08-30 20:47:47 -06:00
test_aaa_aardvark.py Port initialization "tests". 2021-05-10 11:51:41 -04:00
test_get_put.py A second integration test for get/put. 2021-05-21 12:52:36 -04:00
test_i2p.py Actually clean up the container. 2022-10-03 10:49:08 -04:00
test_servers_of_happiness.py Port to Python 3. 2021-05-07 13:21:23 -04:00
test_sftp.py update the integration tests to reflect removal of sftp password auth 2021-10-26 07:16:24 -04:00
test_streaming_logs.py Port to Python 3. 2021-05-11 11:13:52 -04:00
test_tor.py Get rid of spurious sleep. 2022-05-18 13:44:18 -04:00
test_vectors.py "Parametrize" in a way that gives us better test names. 2023-01-17 10:03:54 -05:00
test_web.py Port to Python 3. 2021-05-12 09:22:33 -04:00
util.py Simpler, more correct process lifecycle handling. 2023-01-17 10:06:14 -05: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.