Uploaded image for project: 'JBoss Enterprise Application Platform 6'
  1. JBoss Enterprise Application Platform 6
  2. JBPAPP6-462

Arquillian should wait until a port is free after AS JVM process ends to prevent "port in use".

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Done
    • EAP 6.0.0 ER 2, EAP 6.0.0 ER 3_Beta1
    • EAP 6.0.0 ER 5
    • Testsuite

    Description

      (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:

      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"
      

      (06:13:56) ozizka: dmlloyd: That's on linux?
      (06:14:03) dmlloyd: yes

      Attachments

        Issue Links

          Activity

            People

              ozizka_jira Ondrej Zizka (Inactive)
              ozizka_jira Ondrej Zizka (Inactive)
              Archiver:
              samahaja@redhat.com Sagar Mahajan

              Dates

                Created:
                Updated:
                Resolved:
                Archived: