Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-462

Changing RESTEasy test port with "org.jboss.resteasy.port" is not reflected by all tests

XMLWordPrintable

    • Icon: Patch Patch
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 2.0.1.GA
    • jaxrs

      Because of hardcoded paths/ports in the following tests:

      org.jboss.resteasy.test.client.ClientResponseFailureTest
      org.jboss.resteasy.test.client.ApacheHttpClient4Test
      org.jboss.resteasy.test.ProxyInputStreamTest

      setting the http port for the embedded test server using the system property "org.jboss.resteasy.port" has no effect.

      See attached patch that sets the path up in BaseResourceTest, using TestPortProvider.generateBaseUrl();

              patriot1burke@gmail.com Bill Burke (Inactive)
              bob_walker99 Bob Walker (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: