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

Ken Wills (JIRA) issues at jboss.org
Thu Sep 7 22:51:00 EDT 2017


    [ https://issues.jboss.org/browse/WFCORE-3259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460568#comment-13460568 ] 

Ken Wills commented on WFCORE-3259:
-----------------------------------

Is this currently hiding some failures?

> 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 outcome 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