File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ def pytest_addoption(parser: Parser) -> None:
3232 buckets_group = parser .getgroup (name = "Buckets" )
3333 runtime_group = parser .getgroup (name = "Runtime details" )
3434 upgrade_group = parser .getgroup (name = "Upgrade options" )
35+ must_gather_group = parser .getgroup (name = "MustGather" )
3536
3637 # AWS config and credentials options
3738 aws_group .addoption (
@@ -112,6 +113,12 @@ def pytest_addoption(parser: Parser) -> None:
112113 help = "Coma-separated str; specify inference service deployment modes tests to run in upgrade tests. "
113114 "If not set, all will be tested." ,
114115 )
116+ must_gather_group .addoption (
117+ "--collect-must-gather" ,
118+ help = "Indicate if must-gather should be collected on failure." ,
119+ action = "store_true" ,
120+ default = False ,
121+ )
115122
116123
117124def pytest_cmdline_main (config : Any ) -> None :
You can’t perform that action at this time.
0 commit comments