[jboss-jira] [JBoss JIRA] (WFCORE-4614) Remove org.jboss.as.cli import from AbstractManagementTestBase
Brian Stansberry (Jira)
issues at jboss.org
Tue Aug 20 22:39:00 EDT 2019
[ https://issues.jboss.org/browse/WFCORE-4614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Stansberry updated WFCORE-4614:
-------------------------------------
Description:
AbstractMgmtTestBase imports org.jboss.as.cli.operation.OperationFormatException because executeAndRollbackOperation declares it throws it. But the method doesn't actually throw that exception.
As a result there are a bunch of in-vm arquillian tests in WildFly that base on AbstractMgmtTestBase that are adding to their deployments the org.jboss.as.cli module as a MANIFEST>MF dependency. Remove this import and they won't need to do that. Don't do that and some of those test can then be executed against a Galleon-slimmed installation, i.e one without the CLI installed.
was:
AbstractMgmtTestBase imports org.jboss.as.cli.operation.OperationFormatException because executeAndRollbackOperation declares it throws it. But the method doesn't actually throw that exception.
As a result there are a bunch of in-vm arquillian tests in WildFly that base on AbstractMgmtTestBase that are adding to their deployments the org.jboss.as.cli module as a Class-Path dependency. Remove this import and they won't need to do that. Don't do that and some of those test can then be executed against a Galleon-slimmed installation, i.e one without the CLI installed.
> Remove org.jboss.as.cli import from AbstractManagementTestBase
> --------------------------------------------------------------
>
> Key: WFCORE-4614
> URL: https://issues.jboss.org/browse/WFCORE-4614
> Project: WildFly Core
> Issue Type: Bug
> Components: Test Suite
> Reporter: Brian Stansberry
> Assignee: Brian Stansberry
> Priority: Minor
> Fix For: 10.0.0.Beta4
>
>
> AbstractMgmtTestBase imports org.jboss.as.cli.operation.OperationFormatException because executeAndRollbackOperation declares it throws it. But the method doesn't actually throw that exception.
> As a result there are a bunch of in-vm arquillian tests in WildFly that base on AbstractMgmtTestBase that are adding to their deployments the org.jboss.as.cli module as a MANIFEST>MF dependency. Remove this import and they won't need to do that. Don't do that and some of those test can then be executed against a Galleon-slimmed installation, i.e one without the CLI installed.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list