Bug 412569 - SimpleVirtualLazyTreeViewerTest.testRemoveAt failed
Summary: SimpleVirtualLazyTreeViewerTest.testRemoveAt failed
Status: CLOSED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.4   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 334568 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-07-09 04:44 EDT by Dani Megert CLA
Modified: 2019-09-22 05:13 EDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2013-07-09 04:44:24 EDT
N20130708-2000.

SimpleVirtualLazyTreeViewerTest.testRemoveAt failed.

http://download.eclipse.org/eclipse/downloads/drops4/N20130708-2000/testresults/html/org.eclipse.ui.tests_win32.win32.x86_7.0.html


expected:<2> but was:<0>

junit.framework.AssertionFailedError: expected:<2> but was:<0>
at org.eclipse.jface.tests.viewers.SimpleVirtualLazyTreeViewerTest.testRemoveAt(SimpleVirtualLazyTreeViewerTest.java:200)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:655)
at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:310)
at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:36)
at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:32)
at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:109)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:80)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:372)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:226)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
at org.eclipse.core.launcher.Main.main(Main.java:34)
Comment 1 Dani Megert CLA 2013-07-10 04:22:49 EDT
Also failed in the I-build:
http://download.eclipse.org/eclipse/downloads/drops4/I20130709-0800/testresults/html/org.eclipse.ui.tests_win32.win32.x86_7.0.html

Probably a regression either in UI or SWT.
Comment 2 Paul Webster CLA 2013-07-18 13:25:32 EDT
We haven't made a change in the tests since May and not in JFace since the middle of June.

Silenio, any chance of Tree or Lazy changes in SWT?

PW
Comment 3 Silenio Quarti CLA 2013-07-18 13:45:13 EDT
No changes in SWT. Test has not failed in latest I-build and N-build either.
Comment 4 Dani Megert CLA 2013-08-09 04:03:59 EDT
Moving to M2 as per bug 414630 comment 4.
Comment 5 Eric Moffatt CLA 2013-09-13 13:20:07 EDT
I haven't seen this failure recently, has anybody seen this or should we close it ?
Comment 6 Dani Megert CLA 2013-09-16 05:03:21 EDT
(In reply to Eric Moffatt from comment #5)
> I haven't seen this failure recently, has anybody seen this or should we
> close it ?

No, I haven't seen since then.
Comment 7 Dani Megert CLA 2014-05-07 04:47:20 EDT
It's back in the last two I-builds.
Comment 8 Paul Webster CLA 2014-05-09 06:29:49 EDT
Wojtek,

Can you try and reproduce this?

PW
Comment 9 Wojciech Sudol CLA 2014-05-09 08:17:20 EDT
I cannot reproduce it. I tested pure I20140506-2000 build, as well as the latest commits. In the official build the test passes again.
Comment 10 Paul Webster CLA 2014-05-29 13:06:11 EDT
It still hasn't been happening in the official builds, deferring until later.

PW
Comment 11 Rolf Theunissen CLA 2019-06-16 08:50:33 EDT
Just seen this one on Jenkins again:

Stacktrace

junit.framework.AssertionFailedError
	at org.eclipse.jface.tests.viewers.SimpleVirtualLazyTreeViewerTest.processEventsUntilElementUpdated(SimpleVirtualLazyTreeViewerTest.java:237)
	at org.eclipse.jface.tests.viewers.SimpleVirtualLazyTreeViewerTest.testRemoveAt(SimpleVirtualLazyTreeViewerTest.java:218)

Although this code is recently change in Bug 531048
Comment 12 Jens Lideström CLA 2019-09-17 15:46:58 EDT
I've seen a couple of these also (I think more than once):

junit.framework.AssertionFailedError: first3 is visible
org.eclipse.jface.tests.viewers.VirtualLazyTreeViewerTest.testExpandToLevel(VirtualLazyTreeViewerTest.java:164)

For example here:
https://ci.eclipse.org/platform/job/eclipse.platform.ui-Gerrit/19922/testReport/junit/org.eclipse.jface.tests.viewers/VirtualLazyTreeViewerTest/testExpandToLevel/
Comment 13 Eclipse Genie CLA 2019-09-18 16:00:11 EDT
New Gerrit change created: https://git.eclipse.org/r/149800
Comment 15 Eclipse Genie CLA 2019-09-20 16:47:30 EDT
New Gerrit change created: https://git.eclipse.org/r/149933
Comment 17 Jens Lideström CLA 2019-09-22 05:13:10 EDT
Since the test hasn't failed for a couple of build I assume that the fix worked and will close this ticket.
Comment 18 Jens Lideström CLA 2019-09-22 05:13:51 EDT
*** Bug 334568 has been marked as a duplicate of this bug. ***