mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Show which salt transport is being tested
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
88073e1331
commit
9da38c3898
1 changed files with 3 additions and 2 deletions
|
@ -396,9 +396,10 @@ def set_max_open_files_limits(min_soft=3072, min_hard=4096):
|
|||
return soft, hard
|
||||
|
||||
|
||||
def pytest_report_header():
|
||||
def pytest_report_header(config):
|
||||
soft, hard = set_max_open_files_limits()
|
||||
return "max open files; soft: {}; hard: {}".format(soft, hard)
|
||||
transport = config.getoption("--transport")
|
||||
return f"max open files: soft={soft}; hard={hard}\nsalt-transport: {transport}"
|
||||
|
||||
|
||||
def pytest_itemcollected(item):
|
||||
|
|
Loading…
Add table
Reference in a new issue