<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 13 Oct 2011, at 12:40, Martin Gencur wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi,<br>one of our efforts around EDG testing is to test whether all XML<br>elements/attributes being set in standalone.xml take effect, i.e.<br>whether org.infinispan.config.Configuration, which in turn is used to<br>create caches, is populated properly based on the xml config file.<br>(this test goal is mentioned in our testplan - second row -<br><a href="https://docspace.corp.redhat.com/docs/DOC-79912">https://docspace.corp.redhat.com/docs/DOC-79912</a>)<br><br>I think one possible way to test this would be to start EDG with certain<br>config. defined in standalone.xml and look at how it was really<br>configured via JMX. There's a JIRA I reported last week which shows that<br>this is not working currently<br>(<a href="https://issues.jboss.org/browse/ISPN-1443">https://issues.jboss.org/browse/ISPN-1443</a>). Would there be a chance to<br>make it work? Or has this ever been working?<br></div></blockquote>Looking at CacheImpl.getConfigurationAsXmlString -> this *should* work based on some changes introduced in 5.0.0 final: <a href="https://issues.jboss.org/browse/ISPN-948">https://issues.jboss.org/browse/ISPN-948</a></div><div>Perhaps Pete can keep an eye on this as part of rewriting the configuration parsing? </div><div><br></div><div><blockquote type="cite"><div><br>If anyone has any thoughts how to test this in a different way, they can<br>tell me. The problem is that we're testing client-server mode where we<br>cannot access AdvancedCache and so on, so getting the real configuration<br>is hard (if possible at all).<br></div></blockquote></div><br></body></html>