Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
TestParseDuration fails on Linux #4529
Comments
TestParseDuration relied on an elapsed time calculation which would vary based on the system local time. Fix the test by not relying on the system time location. Also make the test more deterministic by injecting time in tests rather than using system time. Fixes rclone#4529.
TestParseDuration relied on an elapsed time calculation which would vary based on the system local time. Fix the test by not relying on the system time location. Also make the test more deterministic by injecting time in tests rather than using system time. Fixes rclone#4529.
What is the problem you are having with rclone?
While running
make quicktest
, the test parse duration fails every time. @ncw has pointed out that the problem is with time zone.Fails while the following passes,
What is your rclone version (output from
rclone version
)rclone v1.52.2-269-g05703ba2-plugins2-beta
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Pop OS! 64 bits
Which cloud storage system are you using? (eg Google Drive)
NA
The command you were trying to run (eg
rclone copy /tmp remote:tmp
)make quicktest
A log from the command with the
-vv
flag (eg output fromrclone -vv copy /tmp remote:tmp
)