Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-4614

Remove org.jboss.as.cli import from AbstractMgmtTestBase

XMLWordPrintable

      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.

              bstansbe@redhat.com Brian Stansberry
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: