Branch: refs/heads/davem/tie-file-tmpdir Home: https://github.com/Perl/perl5 Commit: 529b0eee5b68112baa6223f86e8db382fd7443c4 https://github.com/Perl/perl5/commit/529b0eee5b68112baa6223f86e8db382fd7443c4 Author: David Mitchell <da...@iabyn.com> Date: 2024-02-26 (Mon, 26 Feb 2024)
Changed paths: M t/harness Log Message: ----------- t/harness: remove Encode parallel test exception The new version of Encode, which was just merged, includes a fix that stops two test scripts from using the same temp files. So remove the exception which stops those two test scripts running in parallel. Commit: ada486377b7b9f6baba2f0061ff2b16308c577d3 https://github.com/Perl/perl5/commit/ada486377b7b9f6baba2f0061ff2b16308c577d3 Author: David Mitchell <da...@iabyn.com> Date: 2024-02-26 (Mon, 26 Feb 2024) Changed paths: M dist/Tie-File/t/29_downcopy.t M dist/Tie-File/t/29a_upcopy.t Log Message: ----------- Tie::File: use File::Temp in two test scripts t/29_downcopy.t and t/29a_upcopy.t intermittently timeout on some smokers. This is speculated to be due to the current directory being on a very slow USB drive, when lots of small test files are created, modified and deleted by these tests. Update these two test scripts to use File::Temp to create a temp subdir in the OS's normal temp directory as a place for the temp files. This has two potential advantages. First the OS's normal tempdir (e.g. /tmp or wherever $TMPDIR points to) may be mounted as tmpfs or similar, and thus won't actually write to a slow USB or network drive. Second, each test file will be created in directory that's normally empty, so there's potentially less manipulating of the directory information on disk. Compare: https://github.com/Perl/perl5/compare/529b0eee5b68%5E...ada486377b7b To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications