[arquillian-issues] [JBoss JIRA] (ARQ-709) Arquillian doesn't wait for the process to really end, causes problems like "port in use".

Ondrej Zizka (Created) (JIRA) jira-events at lists.jboss.org
Thu Dec 22 00:13:09 EST 2011


Arquillian doesn't wait for the process to really end, causes problems like "port in use".
------------------------------------------------------------------------------------------

                 Key: ARQ-709
                 URL: https://issues.jboss.org/browse/ARQ-709
             Project: Arquillian
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Base Implementation
    Affects Versions: 1.0.0.CR7
            Reporter: Ondrej Zizka


(05:54:09) dmlloyd: when running with JDWP enabled on the client or server, I occasionally get bind exceptions due to address in use
(05:54:25) dmlloyd: which means that tests are running into each other without waiting for termination of the previous one
(05:54:35) dmlloyd: which may also be causing other issues
(05:56:04) ozizka: dmlloyd: Yes, lbarrerio observed similar problem too,
(05:56:47) ozizka: And that's arq's issue too - there's no way to get around this currently AFAIK. Or is there?
(05:57:05) ozizka: Perhaps "manually" wait in @AfterClass or such
(05:57:07) dmlloyd: yeah, it can wait for the child process to terminate
(05:57:07) ozizka: which is ugly
(05:57:14) dmlloyd: I mean arq should

(05:59:17) ozizka: dmlloyd:  Do you have it somewhere on hudson?
(05:59:24) ozizka: dmlloyd: It never happened to me actually
(05:59:49) ozizka: Send me a log if you have one handy
(06:01:35) dmlloyd: ozizka: no, try running with this command though: 
{code}
mvn -DallTests install -Djpda -Dsurefire.jpda.args=-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n -Dmaven.surefire.debug="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005"
{code}
(06:13:56) ozizka: dmlloyd: That's on linux?
(06:14:03) dmlloyd: yes

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the arquillian-issues mailing list