Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 152851 Details for
Bug 295619
Test failure caused by a timing issue in M20091118-0800
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch on HEAD to try to figure out where the problem comes from
v00.txt (text/plain), 2.19 KB, created by
Frederic Fusier
on 2009-11-23 08:56:11 EST
(
hide
)
Description:
Patch on HEAD to try to figure out where the problem comes from
Filename:
MIME Type:
Creator:
Frederic Fusier
Created:
2009-11-23 08:56:11 EST
Size:
2.19 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core.tests.model >Index: src/org/eclipse/jdt/core/tests/model/AbstractJavaModelTests.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/AbstractJavaModelTests.java,v >retrieving revision 1.235 >diff -u -r1.235 AbstractJavaModelTests.java >--- src/org/eclipse/jdt/core/tests/model/AbstractJavaModelTests.java 2 Nov 2009 09:05:47 -0000 1.235 >+++ src/org/eclipse/jdt/core/tests/model/AbstractJavaModelTests.java 23 Nov 2009 12:38:19 -0000 >@@ -2819,8 +2819,12 @@ > } > protected void touch(File f) { > int time = 1000; >- f.setLastModified(f.lastModified() + time); >+ long lastModified = f.lastModified(); >+ f.setLastModified(lastModified + time); > org.eclipse.jdt.core.tests.util.Util.waitAtLeast(time); >+ // Assertion to track the reason of unexpected failures with tests on external resources >+ // see https://bugs.eclipse.org/bugs/show_bug.cgi?id=295619 >+ assertEquals("The file "+f.getAbsolutePath()+" was not touched!", lastModified+time, f.lastModified()); > } > > protected String toString(String[] strings) { >Index: src/org/eclipse/jdt/core/tests/model/JavaElementDeltaTests.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/model/JavaElementDeltaTests.java,v >retrieving revision 1.94 >diff -u -r1.94 JavaElementDeltaTests.java >--- src/org/eclipse/jdt/core/tests/model/JavaElementDeltaTests.java 19 Nov 2009 17:07:55 -0000 1.94 >+++ src/org/eclipse/jdt/core/tests/model/JavaElementDeltaTests.java 23 Nov 2009 12:38:20 -0000 >@@ -901,7 +901,7 @@ > * Ensures that changing an external library folder referenced by a library entry and refreshing triggers the correct delta > * Disable as long as it is not more reliable see https://bugs.eclipse.org/bugs/show_bug.cgi?id=295619 > */ >-public void _testChangeExternalLibFolder3() throws CoreException { >+public void testChangeExternalLibFolder3() throws CoreException { > try { > createExternalFolder("externalLib/p"); > createExternalFile("externalLib/p/X.class", "");
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 295619
:
152607
|
152610
|
152851
|
159315