-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
Affects Version/s: 2.5.4
-
Component/s: Testing Infrastructure
-
None
-
Environment:Windows
-
Windows
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
2 issues:
1) MongoRunner.toRealPath() is returning an invalid path under Windows because it is assuming all absolute filesystem paths start with forward slash '/'. This is not true under Windows where an absolute path could start with backslash '\' or drive letter.
2) A number of tests in disk and tool test suites are doing comparisons on the full path of files returned from listFiles(). listFiles() unfortunately converts all native path separators to a generic forward slash which makes comparing with Windows-style paths inconvenient.
Resolution:
1) MongoRunner.toRealPath() now recognizes Windows drive letters and backslashes at the beginning of any paths it is given.
2) listFiles() now returns an additional field baseName which allows tests to check filenames without being affected by the normalization behavior.
Tests are failing across all windows-64 buildvariants
- is related to
-
SERVER-9579 Smoke tests should always use --smoke-db-prefix
-
- Closed
-