However - the test may not actually for a developer's local dev env, as Dir is used without an explicit sort:
Overview. 'DirandDir. glob(…)` do not make any guarantees about the order in which files are returned. The final order is determined by the operating system and file system.
Motivation and Context
Developers want consistency between CI and local testing env
How Has This Been Tested?
CI Passes
Types of changes
Bug fix (non-breaking change which fixes an issue)
Checklist:
[x] I have updated the documentation accordingly (or changes are not required).
[x] I have added tests to cover my changes (or new tests are not required).
Description
Fix non-deterministic test order when running tests. A test failure on CI outputs an error with the reproducible test steps:
However - the test may not actually for a developer's local dev env, as
Dir
is used without an explicit sort:Motivation and Context
Developers want consistency between CI and local testing env
How Has This Been Tested?
CI Passes
Types of changes
Checklist: