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

chore: Updated flaky when test #2241

Merged
merged 1 commit into from
Jun 4, 2024

Conversation

jsumners-nr
Copy link
Contributor

This PR updates a flaky test in the when suite. An instance of the failure can be seen at https://github.com/newrelic/node-newrelic/actions/runs/9364306171/job/25777040589#step:7:1319. The issue is that the GitHub Actions environment is inconsistent. It routinely runs things slower than they would otherwise execute. Given the variability of JavaScript timers, we really only need to verify that the provided delay is met.

@jsumners-nr jsumners-nr added the dev:tests Indicates only changes to tests label Jun 4, 2024
@jsumners-nr jsumners-nr marked this pull request as ready for review June 4, 2024 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev:tests Indicates only changes to tests
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants