From a7d9447bdba206cc558fbfc109ceb7b1a672b548 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Kr=C3=BCger?= Date: Mon, 8 Jul 2024 17:26:50 +0200 Subject: [PATCH] test(iroh-cli): Also test for "minutes" in transfer time regex :grimacing: (#2475) ## 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. :grimacing: 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.~~ --- Cargo.lock | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.lock b/Cargo.lock index d520e15b78..6e53f3df18 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2605,6 +2605,7 @@ dependencies = [ "postcard", "quic-rpc", "rand", + "rand_xorshift", "ratatui", "regex", "reqwest 0.12.5",