file.dart
file.dart copied to clipboard
CI failing on windows (due to a failing test - succeedsIfDestinationIsEmptyDirectory)
It looks like the CI is failing consistently on windows. Here's the issue I see (on the windows-latest stable and beta sdk bots; dev has not completed in two runs either - I assume w/ a similar issue):
00:04 +586 ~515 -1: test\local_test.dart: LocalFileSystem common Directory rename succeedsIfDestinationIsEmptyDirectory [E]
FileSystemException: Rename failed, path = 'C:\Users\runneradmin\AppData\Local\Temp\file_test_d043d239\foo' (OS Error: Cannot create a file when that file already exists.
, errno = 183)
dart:io _Directory.renameSync
package:file/src/forwarding/forwarding_file_system_entity.dart 50:49 ForwardingFileSystemEntity.renameSync
d:%5Ca%5Cfile.dart%5Cfile.dart%5Cpackages%5Cfile%5Ctest%5Ccommon_tests.dart 643:32 runCommonTests.<fn>.<fn>.<fn>.<fn>
While you're looking at Windows issues, maybe you want to check this other one as well: https://github.com/google/file.dart/issues/182
If there's no test for this failing on Windows, pls feel free to add the one shown in that issue.