We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0500585 commit 6ecd350Copy full SHA for 6ecd350
tests/observability/metrics/conftest.py
@@ -637,14 +637,10 @@ def virt_api_pod(admin_client, hco_namespace):
637
if sample and len(sample) == 1:
638
return sample[0]
639
except TimeoutExpiredError:
640
- LOGGER.error(
641
- f"Should only be 1 virt-api pod running: found {
642
- [
643
- (pod.name, pod.instance.status.phase, pod.instance.metadata.get('deletionTimestamp'))
644
- for pod in sample
645
- ]
646
- }"
647
- )
+ pods_info = [
+ (pod.name, pod.instance.status.phase, pod.instance.metadata.get("deletionTimestamp")) for pod in sample
+ ]
+ LOGGER.exception(f"Should only be 1 virt-api pod running: found {pods_info}")
648
raise
649
650
0 commit comments