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

Improve containers startup and increase max duration of test #1612

Merged
merged 2 commits into from
Dec 17, 2024

Conversation

robsunday
Copy link
Contributor

@robsunday robsunday commented Dec 17, 2024

Description:

This is not the full fix for flaky integration tests but it should improve their stability. More PRs will come.
Part of fix for #1605

Because some of the metrics may require some more time to be reported. Maximum metrics assertion timeout has been increased to support this scenario. This timeout increase does not impact successful tests duration because such tests end as soon as all assertions are fulfilled.

@@ -167,7 +167,7 @@ protected final void waitAndAssertMetrics(Consumer<Metric>... assertions) {
protected void verifyMetrics() {
MetricsVerifier metricsVerifier = createMetricsVerifier();
await()
.atMost(Duration.ofSeconds(30))
.atMost(Duration.ofSeconds(60))
Copy link
Contributor Author

@robsunday robsunday Dec 17, 2024

Choose a reason for hiding this comment

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

[for reviewer] Increase maximum assertions timeout to give tested target more time to stabilize and generate all the metrics

@github-actions github-actions bot requested a review from SylvainJuge December 17, 2024 16:50
@trask trask merged commit be9aee0 into open-telemetry:main Dec 17, 2024
14 checks passed
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.

4 participants