Skip to content

Commit 57056ed

Browse files
committed
fix: add log on failure
1 parent 7b72cb8 commit 57056ed

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests/conftest.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -499,10 +499,12 @@ def fail_if_missing_dependent_operators(admin_client: DynamicClient) -> None:
499499
break
500500

501501
else:
502-
missing_operators.append(operator_name)
502+
missing_operators.append(
503+
f"Operator {operator_name} is installed but CSV is not in {csv.Status.SUCCEEDED} state"
504+
)
503505

504506
else:
505-
missing_operators.append(operator_name)
507+
missing_operators.append(f"{operator_name} is not installed")
506508

507509
if missing_operators:
508-
pytest.fail(f"Missing dependent operators: {missing_operators}")
510+
pytest.fail(missing_operators)

0 commit comments

Comments
 (0)