mirror of
https://github.com/rclone/rclone.git
synced 2026-06-29 10:25:00 -04:00
The TestLogger/TestRepoCompare and TestLogger/TestBeforeVsAfter testscript scenarios filled src and dst by downloading two old rclone source archives from GitHub with `rclone copyurl`. Whenever GitHub or the network hiccuped (eg a 502 Bad Gateway) the downloads failed and the tests failed with it, making them flaky on CI. Generate two overlapping trees of files in the test Setup instead. They cover the same comparison categories the scripts exercise (matching, differing, src-only and dst-only files) so the tests are just as meaningful but no longer depend on the network.