[jboss-jira] [JBoss JIRA] (WFCORE-4614) Remove org.jboss.as.cli import from AbstractMgmtTestBase
Brian Stansberry (Jira)
issues at jboss.org
Sun Mar 22 18:01:14 EDT 2020
[ https://issues.redhat.com/browse/WFCORE-4614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Stansberry updated WFCORE-4614:
-------------------------------------
Summary: Remove org.jboss.as.cli import from AbstractMgmtTestBase (was: Remove org.jboss.as.cli import from AbstractManagementTestBase)
> Remove org.jboss.as.cli import from AbstractMgmtTestBase
> --------------------------------------------------------
>
> Key: WFCORE-4614
> URL: https://issues.redhat.com/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, 10.0.0.Final
>
>
> 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.13.8#713008)
More information about the jboss-jira
mailing list