Skip to content

Commit 44e9076

Browse files
Merge pull request #2645 from sriroopar/must-gather-fix
Ensuring must gather runs for all e2e test suites.
2 parents c4b2b3c + 664469f commit 44e9076

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/e2e/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,8 +299,8 @@ def get_secret_value(env: str) -> str:
299299

300300
def pytest_sessionfinish(session):
301301
"""Create datarouter compatible archive to upload into report portal."""
302-
# Gather OLS artifacts only if there were failures
303-
if on_cluster and session.testsfailed > 0:
302+
# Gather OLS artifacts for all test suites when running on cluster
303+
if on_cluster:
304304
must_gather()
305305
# Sending reports to report portal
306306
try:

0 commit comments

Comments
 (0)