1 Reply Latest reply on Mar 9, 2008 10:31 AM by pbolle

    How to configure ports in BaseTestCase

    pbolle

      Hi community,

      I am using the class org.jboss.embedded.junit.BaseTestCase to crate unit tests. All works fine on my pc. But if I run the tests parallel on the ci-server I get conflicts in the used ports opened by the embedded jboss.

      How can I change the ports used by BaseTestCase.

      Regards Philipp

        • 1. Re: How to configure ports in BaseTestCase
          pbolle

          Hi,

          i found the solution. If I set a property via System.setProperty then I can use this property in the configuration. So I will change my configuration so that all ports can set by the testcase. Then the can run in parallel.

          Regards Philipp