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

Scripts module of WF-TS fails with "-DreuseForks=false"

    XMLWordPrintable

Details

    Description

      Scripts module of WF-TS module fails with "-DreuseForks=false"

      Server is configured once in a thread without any cleanup. Basically module make prepare phase in first executed tests. If "-DreuseForks=false" is used, prepare phase is started more times, but passed in first occurrence only.

      {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => "WFLYCTL0212: Duplicate resource [
          (\"subsystem\" => \"logging\"),
          (\"custom-formatter\" => \"json\")
      ]"}}
      	at org.junit.Assert.fail(Assert.java:89)
      	at org.wildfly.common.test.ServerConfigurator.executeOperation(ServerConfigurator.java:233)
      	at org.wildfly.common.test.ServerConfigurator.configureStandalone(ServerConfigurator.java:130)
      	at org.wildfly.common.test.ServerConfigurator.configure(ServerConfigurator.java:59)
      	at org.wildfly.scripts.test.ScriptTestCase.configureEnvironment(ScriptTestCase.java:88)
      
      

      Attachments

        Activity

          People

            mkopecky@redhat.com Marek Kopecky
            mkopecky@redhat.com Marek Kopecky
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: