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

Speed up tests execution #1249

Merged
merged 1 commit into from
Aug 19, 2024
Merged

Speed up tests execution #1249

merged 1 commit into from
Aug 19, 2024

Conversation

w666
Copy link
Collaborator

@w666 w666 commented Aug 18, 2024

  • Override endpoints in some tests where it tried to send requests to the endpoints in the internet
  • Now tests work in offline

 - Override endpoints in some tests where it tried to send
   requests to the endpoints in the internet
 - Now tests work in offline
@w666
Copy link
Collaborator Author

w666 commented Aug 18, 2024

This PR is mostly to make life a bit easier for those who develop and run tests in this project.
Now it is possible to run tests offline, for me as a maintainer it was very important as I work on this project on my way to work with a bad network coverage.
Some tests do not try to send requests to hosts that do not exist anymore.
Some tests relied on error response from real hostnames.

On my machine runtime was ~3 minutes before changes, now ~5 seconds.

@w666 w666 self-assigned this Aug 18, 2024
@w666 w666 merged commit f5b909c into master Aug 19, 2024
1 check 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.

1 participant