mirror of
https://github.com/rclone/rclone.git
synced 2026-01-05 01:53:14 +00:00
It seems like (*testState).readLine() hangs indefinitely when it's waiting for a line that will never be written [1]. This commit adds an explicit 30-second timeout when reading from the internal mock stdout. Given that we integrate with fstest, this timeout needs to be sufficiently long that it accommodates slow-but-successful operations on real remotes. [1]: https://github.com/rclone/rclone/pull/8423#issuecomment-2701601290