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

tests(broken-backlinks): reduce time to run tests #370

Merged
merged 1 commit into from
Aug 20, 2024
Merged

Conversation

iuliag
Copy link
Contributor

@iuliag iuliag commented Aug 20, 2024

Reduce time to run tests.
Before: each test in the broken-backlinks suite that was hitting filterOutValidBacklinks was taking >3s to run because the setup included a broken backlink that when called was responding with a delay of 10000ms and fetch was waiting 3s for the response and then timing out.
After this fix: there's a single test that is including this case: should filter out from audit result broken backlinks the ones that return ok (even with redirection).

Copy link
Member

@solaris007 solaris007 left a comment

Choose a reason for hiding this comment

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

thank you, i was noticing that as well

@iuliag iuliag merged commit 8e6a9a2 into main Aug 20, 2024
4 checks passed
@iuliag iuliag deleted the bb-tests-timeout branch August 20, 2024 09:17
@solaris007
Copy link
Member

🎉 This PR is included in version 1.26.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants