]
Jason Greene closed JBAS-9302.
------------------------------
Resolution: Done
Corrupt XML configuration in unit tests
----------------------------------------
Key: JBAS-9302
URL:
https://issues.jboss.org/browse/JBAS-9302
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 7.0.0.Beta2
Reporter: Stuart Douglas
Assignee: Jason Greene
Fix For: 7.0.0.Beta4
I am seeing occasional smoke test failures, due to corrupt xml configuration in
standalone.xml.
The test where I am seeing this failure is
org.jboss.as.test.surefire.servermodule.HttpDeploymentUploadUnitTestCase, which
occasionally ends up with additional junk at the end of it's standalone.xml file such
as:
</system-properties>
</server>et-binding-group>
<system-properties>
<property name="foo" value="bar"/>
<property name="key" value="value"/>
</system-properties>
</server>
I am 99% sure this is caused by multiple concurrent calls to
XmlConfigurationPersister.store, as when I synchronised this method on
XmlConfigurationPersister I could no longer reproduce the problem (could have been just
luck, but it seems highly unlikely).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: