Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-20397

[origin_intservice_59]Port forwarding wizard: can "Start All" even though local port is already used (by other process)

    Details

    • Steps to Reproduce:
      Hide

      1. EXEC: make sure the port 8080 is used at local host
      2. ASSERT: [chunchen@F17-CCY daily]$ ps -ef |grep jenkins
      jenkins 971 1 0 Jul27 ? 00:02:14 /etc/alternatives/java -Dcom.sun.akuma.Daemon=daemonized -Djava.awt.headless=true -DJENKINS_HOME=/var/lib/jenkins -jar /usr/lib/jenkins/jenkins.war --logfile=/var/log/jenkins/jenkins.log --webroot=/var/cache/jenkins/war --daemon --httpPort=8080 --ajp13Port=8009 --debug=5 --handlerCountMax=100 --handlerCountMaxIdle=20
      3: EXEC:select a pod which will try to use local port 8080 --> right click 'Port Forwarding' -->click 'Start All'
      4. ASSERT: got below status:
      Name Local Port Remote Port Status
      8080 8080 Started

      Show
      1. EXEC: make sure the port 8080 is used at local host 2. ASSERT: [chunchen@F17-CCY daily] $ ps -ef |grep jenkins jenkins 971 1 0 Jul27 ? 00:02:14 /etc/alternatives/java -Dcom.sun.akuma.Daemon=daemonized -Djava.awt.headless=true -DJENKINS_HOME=/var/lib/jenkins -jar /usr/lib/jenkins/jenkins.war --logfile=/var/log/jenkins/jenkins.log --webroot=/var/cache/jenkins/war --daemon --httpPort=8080 --ajp13Port=8009 --debug=5 --handlerCountMax=100 --handlerCountMaxIdle=20 3: EXEC:select a pod which will try to use local port 8080 --> right click 'Port Forwarding' -->click 'Start All' 4. ASSERT: got below status: Name Local Port Remote Port Status 8080 8080 Started

      Description

      Port forward successfully even if the relevant local port is used by other process.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jcantrill Jeffrey Cantrill
                  Reporter:
                  cathat Chunyun Chen
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated: