Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#3513: Rewrite TestTimeActiveStage tests #3795

Merged

Conversation

grobinson-grafana
Copy link
Contributor

This commit rewrites the existing TestTimeActiveStage unit tests to have complete isolation between test cases. Before this change, each test case affected the state of its subsequent tests.

The motivation behind this change is to make it easier to assert that alerts have been marked as muted.

This commit rewrites the existing TestTimeActiveStage unit tests
to have complete isolation between test cases. Before this change,
each test case affected the state of its subsequent tests.

The motivation behind this change is to make it easier to assert
that alerts have been marked as muted.

Signed-off-by: George Robinson <[email protected]>
@grobinson-grafana grobinson-grafana changed the title Rewrite TestTimeActiveStage tests #3513: Rewrite TestTimeActiveStage tests Apr 3, 2024
Copy link
Member

@gotjosh gotjosh left a comment

Choose a reason for hiding this comment

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

LGTM

@gotjosh gotjosh merged commit 2dc23c9 into prometheus:main Apr 11, 2024
11 checks passed
@grobinson-grafana grobinson-grafana deleted the grobinson/time-active-stage-tests branch June 25, 2024 15:59
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.

2 participants