[jboss-jira] [JBoss JIRA] (WFWIP-287) MP Fault Tolerance - Hystrix is initialized by random module from EAR
Radoslav Husar (Jira)
issues at jboss.org
Fri Dec 13 10:51:00 EST 2019
[ https://issues.redhat.com/browse/WFWIP-287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Radoslav Husar updated WFWIP-287:
---------------------------------
Steps to Reproduce:
*NOT 100% reproducer will it issue in 50% of run as it's random which MP FT module from EAR gets loaded*
Steps to reproduce:
* Build Wildfly with MP FT:
** https://github.com/rhusar/wildfly/tree/WFLY-12590
** Commit: 3ff9787ca147a45c1651fe1946b02c07c0a6ad15
* Run the test by (provide path to build Wildfly server):
{code}
git clone git at github.com:mnovak1/eap-microprofile-test-suite.git
cd eap-microprofile-test-suite
git checkout EAP7-1347 # checkout the right branch
mvn clean verify -DfailIfNoTests=false -Darquillian.deploymentExportPath=target/deployments/ -Djboss.home=$WILDFLY_HOME -P mp-ft -Dtest=MultipleFaultToleranceModuleEarTest#testFirstModuleConfiguresHystrix
{code}
was:
*NOT 100% reproducer will it issue in 50% of run as it's random which MP FT module from EAR gets loaded*
Steps to reproduce:
* Build Wildfly with MP FT:
** https://github.com/rhusar/wildfly/tree/WFLY-12590
** Commit: 3ff9787ca147a45c1651fe1946b02c07c0a6ad15
* Run the test by (provide path to build Wildfly server):
{code}
git clone git at github.com:mnovak1/eap-microprofile-test-suite.git
cd eap-microprofile-test-suite
mvn clean verify -DfailIfNoTests=false -Darquillian.deploymentExportPath=target/deployments/ -Djboss.home=$WILDFLY_HOME -P mp-ft -Dtest=MultipleFaultToleranceModuleEarTest#testFirstModuleConfiguresHystrix
{code}
> MP Fault Tolerance - Hystrix is initialized by random module from EAR
> ----------------------------------------------------------------------
>
> Key: WFWIP-287
> URL: https://issues.redhat.com/browse/WFWIP-287
> Project: WildFly WIP
> Issue Type: Bug
> Components: MP Fault Tolerance
> Reporter: Miroslav Novak
> Assignee: Radoslav Husar
> Priority: Blocker
>
> If EAR container 2 MP FT modules where each has different configuration for Hystrix then it is initialized by randomly and does not respect module deployment order defined in {{META-INF/application.xml}}:
> {code}
> <?xml version="1.0" encoding="UTF-8"?>
> <application xmlns="http://java.sun.com/xml/ns/javaee"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_6.xsd"
> version="6">
> <initialize-in-order>true</initialize-in-order>
> <module>
> <web>
> <web-uri>first-module.war</web-uri>
> <context-root>first-module</context-root>
> </web>
> </module>
> <module>
> <web>
> <web-uri>second-module.war</web-uri>
> <context-root>second-module</context-root>
> </web>
> </module>
> </application>
> {code}
> It's expected that first-module would configured Hystric based on above application.xml.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list