You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2010/02/23 11:18:31 UTC
[jira] Created: (SLING-1404) Create Maven plugin to select port
dynamically and use it in integration tests
Create Maven plugin to select port dynamically and use it in integration tests
------------------------------------------------------------------------------
Key: SLING-1404
URL: https://issues.apache.org/jira/browse/SLING-1404
Project: Sling
Issue Type: Improvement
Components: Testing
Reporter: Bertrand Delacretaz
Assignee: Bertrand Delacretaz
Priority: Minor
Our launchpad/testing integration tests often fail on Hudson due to ports not being available to run the Sling server instance.
I'll create a simple Maven plugin to select a port dynamically.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SLING-1404) Create Maven plugin to select port
dynamically and use it in integration tests
Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12837389#action_12837389 ]
Justin Edelson commented on SLING-1404:
---------------------------------------
added jetty.http.port in r915492, default to 8888
> Create Maven plugin to select port dynamically and use it in integration tests
> ------------------------------------------------------------------------------
>
> Key: SLING-1404
> URL: https://issues.apache.org/jira/browse/SLING-1404
> Project: Sling
> Issue Type: Improvement
> Components: Testing
> Reporter: Bertrand Delacretaz
> Assignee: Justin Edelson
> Priority: Minor
> Fix For: Launchpad Testing 6
>
>
> Our launchpad/testing integration tests often fail on Hudson due to ports not being available to run the Sling server instance.
> I'll create a simple Maven plugin to select a port dynamically.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SLING-1404) Create Maven plugin to select port
dynamically and use it in integration tests
Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Edelson resolved SLING-1404.
-----------------------------------
Resolution: Fixed
> Create Maven plugin to select port dynamically and use it in integration tests
> ------------------------------------------------------------------------------
>
> Key: SLING-1404
> URL: https://issues.apache.org/jira/browse/SLING-1404
> Project: Sling
> Issue Type: Improvement
> Components: Testing
> Reporter: Bertrand Delacretaz
> Assignee: Justin Edelson
> Priority: Minor
> Fix For: Launchpad Testing 6
>
>
> Our launchpad/testing integration tests often fail on Hudson due to ports not being available to run the Sling server instance.
> I'll create a simple Maven plugin to select a port dynamically.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SLING-1404) Create Maven plugin to select port
dynamically and use it in integration tests
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12837185#action_12837185 ]
Carsten Ziegeler commented on SLING-1404:
-----------------------------------------
Why do we need an own plugin? I thought there are plugins available doing this.
> Create Maven plugin to select port dynamically and use it in integration tests
> ------------------------------------------------------------------------------
>
> Key: SLING-1404
> URL: https://issues.apache.org/jira/browse/SLING-1404
> Project: Sling
> Issue Type: Improvement
> Components: Testing
> Reporter: Bertrand Delacretaz
> Assignee: Bertrand Delacretaz
> Priority: Minor
>
> Our launchpad/testing integration tests often fail on Hudson due to ports not being available to run the Sling server instance.
> I'll create a simple Maven plugin to select a port dynamically.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SLING-1404) Create Maven plugin to select port
dynamically and use it in integration tests
Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bertrand Delacretaz resolved SLING-1404.
----------------------------------------
Resolution: Fixed
Fix Version/s: Launchpad Testing 6
Correct - modified the launchpad/testing pom to use build-helper-maven-plugin:reserve-network-port in revision 915273, no need for our own plugin.
> Create Maven plugin to select port dynamically and use it in integration tests
> ------------------------------------------------------------------------------
>
> Key: SLING-1404
> URL: https://issues.apache.org/jira/browse/SLING-1404
> Project: Sling
> Issue Type: Improvement
> Components: Testing
> Reporter: Bertrand Delacretaz
> Assignee: Bertrand Delacretaz
> Priority: Minor
> Fix For: Launchpad Testing 6
>
>
> Our launchpad/testing integration tests often fail on Hudson due to ports not being available to run the Sling server instance.
> I'll create a simple Maven plugin to select a port dynamically.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SLING-1404) Create Maven plugin to select port
dynamically and use it in integration tests
Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12837278#action_12837278 ]
Justin Edelson commented on SLING-1404:
---------------------------------------
yeah, when working on integration tests, I usually run mvn jetty:run from a shell and then run individual unit tests in my IDE.
I'll fix this, as soon as I'm done with the integration test I'm troubleshooting :)
> Create Maven plugin to select port dynamically and use it in integration tests
> ------------------------------------------------------------------------------
>
> Key: SLING-1404
> URL: https://issues.apache.org/jira/browse/SLING-1404
> Project: Sling
> Issue Type: Improvement
> Components: Testing
> Reporter: Bertrand Delacretaz
> Assignee: Bertrand Delacretaz
> Priority: Minor
> Fix For: Launchpad Testing 6
>
>
> Our launchpad/testing integration tests often fail on Hudson due to ports not being available to run the Sling server instance.
> I'll create a simple Maven plugin to select a port dynamically.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Reopened: (SLING-1404) Create Maven plugin to select port
dynamically and use it in integration tests
Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Edelson reopened SLING-1404:
-----------------------------------
This makes running integration tests from an IDE a pain. We should only use the assigned port for cargo (and the forthcoming launchpad:start goal), not the jetty plugin.
> Create Maven plugin to select port dynamically and use it in integration tests
> ------------------------------------------------------------------------------
>
> Key: SLING-1404
> URL: https://issues.apache.org/jira/browse/SLING-1404
> Project: Sling
> Issue Type: Improvement
> Components: Testing
> Reporter: Bertrand Delacretaz
> Assignee: Bertrand Delacretaz
> Priority: Minor
> Fix For: Launchpad Testing 6
>
>
> Our launchpad/testing integration tests often fail on Hudson due to ports not being available to run the Sling server instance.
> I'll create a simple Maven plugin to select a port dynamically.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SLING-1404) Create Maven plugin to select port
dynamically and use it in integration tests
Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12837276#action_12837276 ]
Bertrand Delacretaz commented on SLING-1404:
--------------------------------------------
You mean when using "mvn jetty:run" ?
Feel free to change that back to a fixed port, agree that it's more convenient.
> Create Maven plugin to select port dynamically and use it in integration tests
> ------------------------------------------------------------------------------
>
> Key: SLING-1404
> URL: https://issues.apache.org/jira/browse/SLING-1404
> Project: Sling
> Issue Type: Improvement
> Components: Testing
> Reporter: Bertrand Delacretaz
> Assignee: Bertrand Delacretaz
> Priority: Minor
> Fix For: Launchpad Testing 6
>
>
> Our launchpad/testing integration tests often fail on Hudson due to ports not being available to run the Sling server instance.
> I'll create a simple Maven plugin to select a port dynamically.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SLING-1404) Create Maven plugin to select port
dynamically and use it in integration tests
Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-1404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Edelson updated SLING-1404:
----------------------------------
Assignee: Justin Edelson (was: Bertrand Delacretaz)
> Create Maven plugin to select port dynamically and use it in integration tests
> ------------------------------------------------------------------------------
>
> Key: SLING-1404
> URL: https://issues.apache.org/jira/browse/SLING-1404
> Project: Sling
> Issue Type: Improvement
> Components: Testing
> Reporter: Bertrand Delacretaz
> Assignee: Justin Edelson
> Priority: Minor
> Fix For: Launchpad Testing 6
>
>
> Our launchpad/testing integration tests often fail on Hudson due to ports not being available to run the Sling server instance.
> I'll create a simple Maven plugin to select a port dynamically.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.