You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2011/06/14 13:45:47 UTC

[jira] [Created] (CAMEL-4104) camel-restlet - Should use dynamic assigned port numbers for testing

camel-restlet - Should use dynamic assigned port numbers for testing
--------------------------------------------------------------------

                 Key: CAMEL-4104
                 URL: https://issues.apache.org/jira/browse/CAMEL-4104
             Project: Camel
          Issue Type: Test
          Components: camel-restlet
            Reporter: Claus Ibsen
            Priority: Minor
             Fix For: 2.8.0, 2.9.0


Our CI servers isnt always to happy with hardcoded port numbers. So we should try to use dynamic assigned port numbers. See camel-mina, camel-jetty, camel-syslog, etc for examples.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CAMEL-4104) camel-restlet - Should use dynamic assigned port numbers for testing

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13050463#comment-13050463 ] 

Jean-Baptiste Onofré commented on CAMEL-4104:
---------------------------------------------

Reviewing the Christian's changes, I noticed:
- the org.apache.camel.component.restlet.route.TestRouteBuilder still use "static" port (9080)
- RestletFaultTest still use "static" port (9080)
- RestletPostXmlRouteAndJSONAsReturnTest still use "static" port (9087)
- RestletPostXmlRouteTest still use "static" port (9087)
- RestletPostXmlTest still use "static" port (9087)

> camel-restlet - Should use dynamic assigned port numbers for testing
> --------------------------------------------------------------------
>
>                 Key: CAMEL-4104
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4104
>             Project: Camel
>          Issue Type: Test
>          Components: camel-restlet
>            Reporter: Claus Ibsen
>            Assignee: Christian Schneider
>            Priority: Minor
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-4104.patch
>
>
> Our CI servers isnt always to happy with hardcoded port numbers. So we should try to use dynamic assigned port numbers. See camel-mina, camel-jetty, camel-syslog, etc for examples.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Resolved] (CAMEL-4104) camel-restlet - Should use dynamic assigned port numbers for testing

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-4104.
--------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.9.0)
         Assignee: Christian Schneider

> camel-restlet - Should use dynamic assigned port numbers for testing
> --------------------------------------------------------------------
>
>                 Key: CAMEL-4104
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4104
>             Project: Camel
>          Issue Type: Test
>          Components: camel-restlet
>            Reporter: Claus Ibsen
>            Assignee: Christian Schneider
>            Priority: Minor
>             Fix For: 2.8.0
>
>
> Our CI servers isnt always to happy with hardcoded port numbers. So we should try to use dynamic assigned port numbers. See camel-mina, camel-jetty, camel-syslog, etc for examples.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CAMEL-4104) camel-restlet - Should use dynamic assigned port numbers for testing

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated CAMEL-4104:
----------------------------------------

    Attachment:     (was: CAMEL-4104.patch)

> camel-restlet - Should use dynamic assigned port numbers for testing
> --------------------------------------------------------------------
>
>                 Key: CAMEL-4104
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4104
>             Project: Camel
>          Issue Type: Test
>          Components: camel-restlet
>            Reporter: Claus Ibsen
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-4104.patch
>
>
> Our CI servers isnt always to happy with hardcoded port numbers. So we should try to use dynamic assigned port numbers. See camel-mina, camel-jetty, camel-syslog, etc for examples.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (CAMEL-4104) camel-restlet - Should use dynamic assigned port numbers for testing

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated CAMEL-4104:
----------------------------------------

    Attachment: CAMEL-4104.patch

New patch covering all unit tests in complement of Christian's changes.

> camel-restlet - Should use dynamic assigned port numbers for testing
> --------------------------------------------------------------------
>
>                 Key: CAMEL-4104
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4104
>             Project: Camel
>          Issue Type: Test
>          Components: camel-restlet
>            Reporter: Claus Ibsen
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-4104.patch
>
>
> Our CI servers isnt always to happy with hardcoded port numbers. So we should try to use dynamic assigned port numbers. See camel-mina, camel-jetty, camel-syslog, etc for examples.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Resolved] (CAMEL-4104) camel-restlet - Should use dynamic assigned port numbers for testing

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-4104.
--------------------------------

    Resolution: Fixed

Thanks for the patch. The checkstyle failed so I had to reorder some imports to fix that

> camel-restlet - Should use dynamic assigned port numbers for testing
> --------------------------------------------------------------------
>
>                 Key: CAMEL-4104
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4104
>             Project: Camel
>          Issue Type: Test
>          Components: camel-restlet
>            Reporter: Claus Ibsen
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-4104.patch
>
>
> Our CI servers isnt always to happy with hardcoded port numbers. So we should try to use dynamic assigned port numbers. See camel-mina, camel-jetty, camel-syslog, etc for examples.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (CAMEL-4104) camel-restlet - Should use dynamic assigned port numbers for testing

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated CAMEL-4104:
----------------------------------------

    Patch Info: [Patch Available]

> camel-restlet - Should use dynamic assigned port numbers for testing
> --------------------------------------------------------------------
>
>                 Key: CAMEL-4104
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4104
>             Project: Camel
>          Issue Type: Test
>          Components: camel-restlet
>            Reporter: Claus Ibsen
>            Assignee: Christian Schneider
>            Priority: Minor
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-4104.patch
>
>
> Our CI servers isnt always to happy with hardcoded port numbers. So we should try to use dynamic assigned port numbers. See camel-mina, camel-jetty, camel-syslog, etc for examples.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (CAMEL-4104) camel-restlet - Should use dynamic assigned port numbers for testing

Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-4104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13050499#comment-13050499 ] 

Christian Schneider commented on CAMEL-4104:
--------------------------------------------

Sorry doing these things in parallel to you but I did not even know that ticket exists when I did the change. I wonly saw that I got test failures.

> camel-restlet - Should use dynamic assigned port numbers for testing
> --------------------------------------------------------------------
>
>                 Key: CAMEL-4104
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4104
>             Project: Camel
>          Issue Type: Test
>          Components: camel-restlet
>            Reporter: Claus Ibsen
>            Assignee: Christian Schneider
>            Priority: Minor
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-4104.patch
>
>
> Our CI servers isnt always to happy with hardcoded port numbers. So we should try to use dynamic assigned port numbers. See camel-mina, camel-jetty, camel-syslog, etc for examples.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Reopened] (CAMEL-4104) camel-restlet - Should use dynamic assigned port numbers for testing

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré reopened CAMEL-4104:
-----------------------------------------

      Assignee: Jean-Baptiste Onofré  (was: Christian Schneider)

I'm gonna submit a new patch to cover all ports in use.

> camel-restlet - Should use dynamic assigned port numbers for testing
> --------------------------------------------------------------------
>
>                 Key: CAMEL-4104
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4104
>             Project: Camel
>          Issue Type: Test
>          Components: camel-restlet
>            Reporter: Claus Ibsen
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-4104.patch
>
>
> Our CI servers isnt always to happy with hardcoded port numbers. So we should try to use dynamic assigned port numbers. See camel-mina, camel-jetty, camel-syslog, etc for examples.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (CAMEL-4104) camel-restlet - Should use dynamic assigned port numbers for testing

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated CAMEL-4104:
----------------------------------------

    Attachment: CAMEL-4104.patch

I don't know what Christian did, but here's my patch if it can help :)

> camel-restlet - Should use dynamic assigned port numbers for testing
> --------------------------------------------------------------------
>
>                 Key: CAMEL-4104
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4104
>             Project: Camel
>          Issue Type: Test
>          Components: camel-restlet
>            Reporter: Claus Ibsen
>            Assignee: Christian Schneider
>            Priority: Minor
>             Fix For: 2.8.0
>
>         Attachments: CAMEL-4104.patch
>
>
> Our CI servers isnt always to happy with hardcoded port numbers. So we should try to use dynamic assigned port numbers. See camel-mina, camel-jetty, camel-syslog, etc for examples.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira