Bug 492952 - Problem when launching tests with product "org.eclipse.platform.ide"
Summary: Problem when launching tests with product "org.eclipse.platform.ide"
Status: ASSIGNED
Alias: None
Product: Sirius
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows NT
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Laurent Redor CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on: 489335
Blocks:
  Show dependency tree
 
Reported: 2016-05-04 03:42 EDT by Laurent Redor CLA
Modified: 2016-05-10 04:05 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 Laurent Redor CLA 2016-05-04 03:42:20 EDT
Steps to reproduce:
- Launch the tests suite SequenceSwtBotTestSuite with product "org.eclipse.platform.ide"
- The first test (InstanceRoleResizableEditPolicyTests.testInstanceRoleResizeMultiple()) fails with the error:

java.lang.AssertionError: Error(s) raised during test : org.eclipse.sirius.tests.swtbot.sequence.InstanceRoleResizableEditPolicyTests
. Log Plugin : org.eclipse.core.runtime
  . Error from plugin:org.eclipse.ui.navigator.resources, message: Could not acquire INavigatorContentService: Project Explorer not found., exception: null
	at org.junit.Assert.fail(Assert.java:88)
	at org.eclipse.sirius.tests.swtbot.support.api.AbstractSiriusSwtBotGefTestCase.checkLogs(AbstractSiriusSwtBotGefTestCase.java:1471)
	at org.eclipse.sirius.tests.swtbot.support.api.AbstractSiriusSwtBotGefTestCase.failureTearDown(AbstractSiriusSwtBotGefTestCase.java:1676)
	at org.eclipse.sirius.tests.swtbot.support.api.AbstractSiriusSwtBotGefTestCase.tearDown(AbstractSiriusSwtBotGefTestCase.java:1871)
	at org.eclipse.sirius.tests.swtbot.sequence.AbstractSequenceDiagramTestCase.tearDown(AbstractSequenceDiagramTestCase.java:1605)
	at ...

This problem exists for each tests suite (sequence suite is just an example). It is caused by the bug 489335. There is no problem if the suite is launched with product "org.eclipse.sdk.ide".
Comment 1 Eclipse Genie CLA 2016-05-04 03:52:35 EDT
New Gerrit change created: https://git.eclipse.org/r/71979
Comment 2 Laurent Redor CLA 2016-05-04 04:09:06 EDT
Extra information: This problem occurs only with Mars.2 and Neon.

The above gerrit is a workaround waiting the fix of bug 489335.