<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.30.3">
</HEAD>
<BODY>
Well, non-Arq tests know what server they communicate to, so they should use the same values.<BR>
<BR>
For tests that need to access the server prior to deployment - depends on what kind of access would they need. Managememt? I may pass the IP and mgmt port to tests as an additional system property.<BR>
<BR>
<BR>
Ondra<BR>
<BR>
<BR>
<BR>
Brian Stansberry p&#237;&#353;e v &#268;t 09. 02. 2012 v 11:07 -0600:
<BLOCKQUOTE TYPE=CITE>
<PRE>
On the JIRA, please document how to get the appropriate configuration 
element from the test environment for situations where 
@ArquillianResource won't work. For example, non-Arquillian tests, and 
tests that need to access the server prior to deployment.

On 2/9/12 10:42 AM, Ond&#345;ej &#381;i&#382;ka wrote:
&gt; Hi,
&gt;
&gt;
&gt; I'd like to ask everyone to fix &quot;their&quot; tests regarding $SUBJ.
&gt; E.g. this is not acceptable:
&gt; ModelControllerClient client =
&gt; ModelControllerClient.Factory.create(InetAddress.getByName(&quot;127.0.0.1&quot;),
&gt; 9999, getCallbackHandler());
&gt; or
&gt; MBeanServerConnection mbeanServer = JMXConnectorFactory.connect(new
&gt; JMXServiceURL(&quot;service:jmx:remoting-jmx://127.0.0.1:9999&quot;)).getMBeanServerConnection();
&gt;
&gt; Such like these MUST be rewritten to fetch the addresses and ports from
&gt; an injected @ArquillianResource.
&gt;
&gt; Here's a tracking jira: <A HREF="https://issues.jboss.org/browse/AS7-3696">https://issues.jboss.org/browse/AS7-3696</A>
&gt; Empty so far. Next week, I'll start going through the tests looking for
&gt; such cases, and fixing them. Or, creating jiras and assigning them to
&gt; the test authors.
&gt; That's why I hope this call to action will relieve me from most of that
&gt; tedious work :)
&gt;
&gt;
&gt; Thanks for cooperation.
&gt; Ondra
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt; _______________________________________________
&gt; jboss-as7-dev mailing list
&gt; <A HREF="mailto:jboss-as7-dev@lists.jboss.org">jboss-as7-dev@lists.jboss.org</A>
&gt; <A HREF="https://lists.jboss.org/mailman/listinfo/jboss-as7-dev">https://lists.jboss.org/mailman/listinfo/jboss-as7-dev</A>


</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>