Bug 572770 - testSortOrderPaths fails on Windows since I20210329-0200
Summary: testSortOrderPaths fails on Windows since I20210329-0200
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 4.20   Edit
Hardware: PC Windows All
: P3 normal (vote)
Target Milestone: 4.20 M2   Edit
Assignee: Jörg Kubitz CLA
QA Contact:
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2021-04-12 04:03 EDT by Andrey Loskutov CLA
Modified: 2021-05-21 02:15 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Loskutov CLA 2021-04-12 04:03:10 EDT
testSortOrderPaths fails on Windows since I20210329-0200

1.0 expected:<[/a, /a, /a/b, /a/c, /a/c, /a/d, /aa, /b]> but was:<[/C:/a, /C:/a, /C:/a/b, /C:/a/c, /C:/a/c, /C:/a/d, /C:/aa, /C:/b]>

junit.framework.AssertionFailedError: 1.0 expected:<[/a, /a, /a/b, /a/c, /a/c, /a/d, /aa, /b]> but was:<[/C:/a, /C:/a, /C:/a/b, /C:/a/c, /C:/a/c, /C:/a/d, /C:/aa, /C:/b]>
at junit.framework.Assert.fail(Assert.java:57)
at junit.framework.Assert.failNotEquals(Assert.java:329)
at junit.framework.Assert.assertEquals(Assert.java:78)
at junit.framework.TestCase.assertEquals(TestCase.java:238)
at org.eclipse.core.tests.filesystem.FileStoreTest.testSortOrderPaths(FileStoreTest.java:675)

Regression from bug 570896.
Comment 1 Andrey Loskutov CLA 2021-04-12 04:06:46 EDT
Alex & Jörg: please check this, it is a regression from bug 570896.
I assume test code must be slightly adopted on Windows.

For the future: please after merging changes, check SDK build results for new test failures (https://download.eclipse.org/eclipse/downloads/), since we test in Gerrit only on Linux/Java 11 but run SDK tests on Mac/Windows/Linux Java 16 too.
Comment 2 Eclipse Genie CLA 2021-04-12 06:33:33 EDT
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.resources/+/179183
Comment 4 Niraj Modi CLA 2021-05-21 02:06:06 EDT
Can we close this bug now ?
Comment 5 Sarika Sinha CLA 2021-05-21 02:13:29 EDT
Please reopen and assign a new target if required.