[jboss-jira] [JBoss JIRA] (WFCORE-3259) ModelTestUtils isn't confirming the transformed boot ops work on the legacy slave

Brian Stansberry (JIRA) issues at jboss.org
Thu Sep 7 22:39:00 EDT 2017


Brian Stansberry created WFCORE-3259:
----------------------------------------

             Summary: ModelTestUtils isn't confirming the transformed boot ops work on the legacy slave
                 Key: WFCORE-3259
                 URL: https://issues.jboss.org/browse/WFCORE-3259
             Project: WildFly Core
          Issue Type: Bug
          Components: Domain Management, Test Suite
            Reporter: Brian Stansberry
            Assignee: Brian Stansberry


In checkFailedTransformedBootOperations:

{code}
if (config.isTransformComposite()) {
            //Transform and execute the composite
            TransformedOperation transformedComposite = mainServices.transformOperation(modelVersion, legacyComposite);
            if (transformedComposite.rejectOperation(successResult())) {
                Assert.fail(transformedComposite.getFailureDescription());
            }
            mainServices.executeOperation(modelVersion, transformedComposite);
        }
{code}

The result of that "mainServices.executeOperation" is ignored, so if the transformation isn't actually producing good ops, we don't know that.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list