Skip to content

refactor!: remove iroh-test crate #3162

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

Merged
merged 6 commits into from
Feb 3, 2025
Merged

Conversation

dignifiedquire
Copy link
Contributor

Description

These testutils we are using, actually can be replaced through either simpler code or other crates. See the individual commits for the alternatives

Breaking Changes

  • iroh-test crate is gone

Notes & open questions

Change checklist

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

Copy link

github-actions bot commented Feb 3, 2025

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

Last updated: 2025-02-03T15:31:39Z

@dignifiedquire dignifiedquire requested a review from a team February 3, 2025 14:59
Copy link

github-actions bot commented Feb 3, 2025

Netsim report & logs for this PR have been generated and is available at: LOGS
This report will remain available for 3 days.

Last updated for commit: 12945ec

@@ -3238,22 +3238,19 @@ mod tests {

// For each node, start a task which monitors its local endpoints and registers them
// with the other nodes as local endpoints become known.
let mut tasks = JoinSet::new();
let mut tasks = Vec::new();
Copy link
Contributor

Choose a reason for hiding this comment

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

Wait? What? A JoinSet aborts all tasks on drop already. Why are we jumping through all these hoops?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

bonus fun 🤣 I can go back to joinset I guess

@dignifiedquire dignifiedquire added this pull request to the merge queue Feb 3, 2025
Merged via the queue into main with commit 7b6884f Feb 3, 2025
26 checks passed
@Arqu Arqu deleted the refactor-remove-iroh-test branch February 17, 2025 10:37
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