[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:23:00 EDT 2019


Brian Stansberry created WFCORE-4614:
----------------------------------------

             Summary: Remove org.jboss.as.cli import from AbstractManagementTestBase
                 Key: WFCORE-4614
                 URL: https://issues.jboss.org/browse/WFCORE-4614
             Project: WildFly Core
          Issue Type: Enhancement
          Components: Test Suite
            Reporter: Brian Stansberry
            Assignee: Brian Stansberry
             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 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.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list