maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Todorov (JIRA)" <j...@codehaus.org>
Subject [jira] (MINDEXER-89) Use a more uncommon port for Jetty in the DefaultIndexUpdaterEmbeddingIT to avoid "Address already in use"
Date Mon, 07 Jul 2014 17:59:10 GMT
Martin Todorov created MINDEXER-89:
--------------------------------------

             Summary: Use a more uncommon port for Jetty in the DefaultIndexUpdaterEmbeddingIT
to avoid "Address already in use"
                 Key: MINDEXER-89
                 URL: https://jira.codehaus.org/browse/MINDEXER-89
             Project: Maven Indexer
          Issue Type: Task
            Reporter: Martin Todorov


The DefaultIndexUpdaterEmbeddingIT integration test will fail, if executing on a system which
is already using port 8080. It's quite common for this port to already be open on a developer's
machine (or server), if they're running Tomcat or Jenkins.

{code}
  DefaultIndexUpdaterEmbeddingIT.setUp:77 » Bind Address already in use
  DefaultIndexUpdaterEmbeddingIT.setUp:77 » Bind Address already in use
  DefaultIndexUpdaterEmbeddingIT.setUp:77 » Bind Address already in use
  DefaultIndexUpdaterEmbeddingIT.setUp:77 » Bind Address already in use
  DefaultIndexUpdaterEmbeddingIT.setUp:77 » Bind Address already in use
  DefaultIndexUpdaterEmbeddingIT.setUp:77 » Bind Address already in use
{code}

Perhaps the build-helper-maven-plugin could be used here to reserve a port.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Mime
View raw message