Skip to content

Conversation

@pantierra
Copy link
Contributor

@pantierra pantierra commented Nov 13, 2025

This PR adds tests for the observability stack (fromer eoapi-support).

@pantierra pantierra changed the title Add observability tests. feat: Add observability tests. Nov 13, 2025
@pantierra pantierra changed the title feat: Add observability tests. feat: Add observability tests Nov 13, 2025
@pantierra pantierra force-pushed the feature/observatbility-tests branch from 03b9fa4 to 260db40 Compare November 13, 2025 14:02
@pantierra pantierra self-assigned this Nov 13, 2025
@pantierra pantierra force-pushed the feature/observatbility-tests branch 10 times, most recently from 6cef91a to 1be9a90 Compare November 13, 2025 17:22
@pantierra pantierra marked this pull request as ready for review November 13, 2025 17:22
@pantierra pantierra force-pushed the feature/observatbility-tests branch 7 times, most recently from 64ce185 to c6bbc7b Compare November 14, 2025 10:44
@pantierra pantierra marked this pull request as draft November 14, 2025 10:45
@pantierra pantierra force-pushed the feature/observatbility-tests branch 4 times, most recently from 9015a5a to c1f81e9 Compare November 14, 2025 11:42
@pantierra pantierra force-pushed the feature/observatbility-tests branch 3 times, most recently from cb46b35 to 5d94887 Compare November 14, 2025 11:52
@pantierra pantierra marked this pull request as ready for review November 14, 2025 11:59
@pantierra pantierra force-pushed the feature/observatbility-tests branch 2 times, most recently from 2e47d81 to 3f28185 Compare November 14, 2025 12:15
import pytest
import requests

# Import shared utilities from conftest
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not needed

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need them.

A few of them are regular functions we have to import anyway (like kubectl_get and get_pod_metrics ), so I also decided to use functions (not fixtures) for these simple environment variable readers that don't need any setup/teardown.

Removed the fixtures all together, but left the functions import.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I just meant the comment :D

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, removed.

@pantierra pantierra force-pushed the feature/observatbility-tests branch from 3f28185 to 6fd20b2 Compare November 14, 2025 12:54
@pantierra
Copy link
Contributor Author

Many thanks for your review(s), @ciaransweet! ❤️

@pantierra pantierra force-pushed the feature/observatbility-tests branch from 6fd20b2 to 567a1f3 Compare November 14, 2025 14:00
@pantierra pantierra merged commit 0158411 into main Nov 14, 2025
4 checks passed
@pantierra pantierra deleted the feature/observatbility-tests branch November 14, 2025 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants