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-cli): Also test for "minutes" in transfer time regex 😬 #2475

Merged
merged 6 commits into from
Jul 8, 2024

Conversation

matheus23
Copy link
Contributor

Description

Windows CI was so slow, the transfer was measured in minutes, not seconds and printed as such to the CLI.

The CLI tests only expected "seconds" to be printed though. 😬

Also went ahead and improved performance of make_test_file because damn this test is already slow enough.

Breaking Changes

None

Notes & open questions

Idk, do you have any? :P

Change checklist

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

@matheus23 matheus23 self-assigned this Jul 8, 2024
@dignifiedquire
Copy link
Contributor

🤣

@matheus23
Copy link
Contributor Author

Windows is confirmed less flaky now:
image

@divagant-martian divagant-martian changed the title fix(iroh-cli): Also test for "minutes" in transfer time regex 😬 test(iroh-cli): Also test for "minutes" in transfer time regex 😬 Jul 8, 2024
@matheus23 matheus23 changed the base branch from matheus23/flush-store to main July 8, 2024 15:00
@matheus23 matheus23 enabled auto-merge July 8, 2024 15:01
@matheus23 matheus23 added this pull request to the merge queue Jul 8, 2024
@flub
Copy link
Contributor

flub commented Jul 8, 2024

😂 maybe we should be adding "hours" already...

thanks for working on these!

Merged via the queue into main with commit 9dddafc Jul 8, 2024
34 of 50 checks passed
@dignifiedquire dignifiedquire deleted the matheus23/fix-windows-large-transfer-flake branch July 8, 2024 16:00
matheus23 added a commit that referenced this pull request Nov 14, 2024
## Description

Windows CI was so slow, the transfer was measured in *minutes*, not
*seconds* and printed as such to the CLI.

The CLI tests only expected "seconds" to be printed though. 😬 

Also went ahead and improved performance of `make_test_file` because
damn this test is already slow enough.

## Breaking Changes

None

## Notes & open questions

Idk, do you have any? :P

## Change checklist

- [X] Self-review.
- ~~[ ] Documentation updates following the [style
guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text),
if relevant.~~
- ~~[ ] Tests if relevant.~~
- ~~[ ] All breaking changes documented.~~
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.

3 participants