Community
Participate
Working Groups
Build ID: HEAD as of 3-Dec-2009 15:00 CET Running the core.resources tests locally on RHEL 4 update 8 x86 32-bit with the default distribution's Sun 1.5.0_20 JVM, I see 2 test failures which I do not see on x86_64 or WinXP: org.eclipse.core.tests.internal.localstore.HistoryStoreTest testAddStateAndPolicies testClean This may be a transient failure but I'd like to see it tracked. junit.framework.AssertionFailedError: 3.5 expected:<0> but was:<5> at org.eclipse.core.tests.internal.localstore.HistoryStoreTest.testAddStateAndPolicies(HistoryStoreTest.java:349) junit.framework.AssertionFailedError: 5.1 expected:<0> but was:<3> at org.eclipse.core.tests.internal.localstore.HistoryStoreTest.testClean(HistoryStoreTest.java:598)
Running against Java 7 on Linux I go this: junit.framework.AssertionFailedError: 1.3.2 at org.eclipse.core.tests.internal.localstore.HistoryStoreTest.testAddStateAndPolicies(HistoryStoreTest.java:263) Need to see whether it happens again. NOTE: A common cause for failure on Java 7 is that the tests are executed in different order. Maybe that's the problem here as well.
*** Bug 129950 has been marked as a duplicate of this bug. ***
Passes again on Java 7.
>(In reply to comment #3) >> Passes again on Java 7. I was too fast: there was a problem generating the results and the link pointed to Java 6 instead of Java 7. We have to wait for the next Java 7 test results.
> >(In reply to comment #3) > >> Passes again on Java 7. > I was too fast: there was a problem generating the results and the link > pointed to Java 6 instead of Java 7. We have to wait for the next Java 7 test > results. Now verified: passes on Java 7.
This test seems to be unstable - failed again: http://download.eclipse.org/eclipse/downloads/drops4/I20130510-2000/testresults/html/org.eclipse.core.tests.resources_linux.gtk.x86_6.0.html The test should be fixed or disabled.
There is a bad assumption in the test that multiple edits will always have a different timestamp. Depending on resolution of the disk times or speed of disk this may not be true. Trying this fix: http://git.eclipse.org/c/platform/eclipse.platform.resources.git/commit/?id=f8363cf55248db9981e1e78fb113724b2b6aabcb
Verified in I20130513-2000.