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

test(iroh): Reduce entry amount in sync_gossip_bulk #2608

Merged
merged 1 commit into from
Aug 9, 2024

Conversation

matheus23
Copy link
Contributor

Description

The test currently runs 55s on our windows CI machines, it runs 40s when I run it on my laptop locally.
If anyone is curious: In release mode, the test runs 0.4s. 🙃

The test basically sync 1000 entries twice. The number is configurable and the default was arbitrarily chosen according to @Frando, so I've reduced it by a factor of 10. With n_entries = 100 the test runs ~4.5s for me, much more reasonable.

Breaking Changes

None

Notes & open questions

Change checklist

  • Self-review.
  • [ ] Documentation updates following the style guide, if relevant.
  • Tests if relevant.
  • All breaking changes documented.

@matheus23 matheus23 requested a review from Frando August 9, 2024 12:03
@matheus23 matheus23 self-assigned this Aug 9, 2024
Copy link

github-actions bot commented Aug 9, 2024

Documentation for this PR has been generated and is available at: https://n0-computer.github.io/iroh/pr/2608/docs/iroh/

Last updated: 2024-08-09T12:03:46Z

@matheus23 matheus23 added this pull request to the merge queue Aug 9, 2024
Merged via the queue into main with commit a2d2ec6 Aug 9, 2024
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants