[jbosstools-issues] [JBoss JIRA] (JBIDE-23377) Fix EAP integration tests - wrong cleanup

Martin Malina (JIRA) issues at jboss.org
Mon Oct 17 10:52:00 EDT 2016


Martin Malina created JBIDE-23377:
-------------------------------------

             Summary: Fix EAP integration tests - wrong cleanup
                 Key: JBIDE-23377
                 URL: https://issues.jboss.org/browse/JBIDE-23377
             Project: Tools (JBoss Tools)
          Issue Type: Task
          Components: integration-tests
    Affects Versions: 4.4.2.AM2
            Reporter: Martin Malina
            Assignee: Martin Malina
             Fix For: 4.4.2.AM3


EAP integration tests fail because of change in RedDeer.
The test suite is set up as follows:
{code}
@Suite.SuiteClasses({
		CreateEAP7Server.class, 
		OperateEAP7Server.class,
		DeployJSPProjectEAP7Server.class,
		HotDeployJSPFileEAP7Server.class,
		UndeployJSPProjectEAP7Server.class,
		DeleteServerEAP7Server.class
})
{code}
DeployJSPProject, HotDeployJSPFile and UndeployJSPProject depend on each other - they require to start in the state where the previous test left it.
But a change in RedDeer caused that by default each test cleans up after being run now.
So we need to add cleanup=false in the server requirement annotation for these test classes, such as:
{code}
@JBossServer(state=ServerReqState.RUNNING, type=ServerReqType.EAP7x, version=ServerReqVersion.EQUAL,cleanup=false)
{code}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list