Include Foolscap logging in node output in integration tests.

This commit is contained in:
Itamar Turner-Trauring
2023-04-27 10:36:39 -04:00
parent 8f1d1cc1a0
commit 86a513282f

View File

@ -54,6 +54,10 @@ from .util import (
# integration tests. See allmydata/scripts/common_http.py for usage. # integration tests. See allmydata/scripts/common_http.py for usage.
os.environ["__TAHOE_CLI_HTTP_TIMEOUT"] = "120" os.environ["__TAHOE_CLI_HTTP_TIMEOUT"] = "120"
# Make Foolscap logging go into Twisted logging, so that integration test logs
# include extra information
# (https://github.com/warner/foolscap/blob/latest-release/doc/logging.rst):
os.environ["FLOGTOTWISTED"] = "1"
# pytest customization hooks # pytest customization hooks