mirror of
https://github.com/rclone/rclone.git
synced 2026-11-07 10:12:56 -05:00
The tests timed one rejection at a time, but checking a --user/--pass password takes less than the resolution of the clock on Windows, so the known and unknown users both measured 0s and the comparison failed. Time many rejections with testing.Benchmark instead, which runs enough of them to measure on a coarse clock.