Bug 563139 - IContentTypeManagerTest.testContentDetection fails since I20200512-1800 on all platforms
Summary: IContentTypeManagerTest.testContentDetection fails since I20200512-1800 on al...
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 4.16   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 4.16 M3   Edit
Assignee: Platform-Resources-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2020-05-13 14:06 EDT by Andrey Loskutov CLA
Modified: 2020-05-14 14:43 EDT (History)
2 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 2020-05-13 14:06:00 EDT
https://download.eclipse.org/eclipse/downloads/drops4/I20200512-1800/testresults/html/org.eclipse.core.tests.resources_ep416I-unit-cen64-gtk3-java8_linux.gtk.x86_64_8.0.html

3.0 expected:<org.eclipse.core.tests.resources.xml-based-different-extension> but was:<org.eclipse.core.runtime.xml>

java.lang.AssertionError: 3.0 expected:<org.eclipse.core.tests.resources.xml-based-different-extension> but was:<org.eclipse.core.runtime.xml>
at org.junit.Assert.fail(Assert.java:89)
at org.junit.Assert.failNotEquals(Assert.java:835)
at org.junit.Assert.assertEquals(Assert.java:120)
at org.eclipse.core.tests.resources.content.IContentTypeManagerTest.testContentDetection(IContentTypeManagerTest.java:643)
Comment 1 Andrey Loskutov CLA 2020-05-13 14:08:06 EDT
Probably regression from bug 251786.
Comment 2 Mickael Istria CLA 2020-05-14 03:22:09 EDT
@Nitin: can you look at this test here? Maybe it's just a "bad" test to fix as well.
If we cannot find a solution soon enough, we'll need to revert the patch for bug 251786 before M3 (next week).
Comment 3 Nitin Dahyabhai CLA 2020-05-14 13:31:04 EDT
(In reply to Mickael Istria from comment #2)
The test looks like it's doing something important--or at least it's a valid case to not have a content description there. Please revert the change.
Comment 4 Mickael Istria CLA 2020-05-14 14:43:44 EDT
Faulty patch was reverted