1 Reply Latest reply on Apr 9, 2012 2:47 PM by bcn

    system property missing in test

    bcn

      I use a jboss AS 7.1.1.Final as remote container. The server is started with a jvm option -Dmyparam=somevalue

      In the normal web application the property can be retrieved with System.getProperty("myparam");

      When running a test, null is returned.

       

      My understanding is that in the case of a remote (not managed) server, the test.war is deployed to the started server, i.e. there is only one server jvm,

      so the property should be available. The call is made in the server side code, not in the test code.

       

      What am I missing?

       

      Arquillian 1.0.0.CR8.

       

      Thanks