[
https://issues.jboss.org/browse/JBIDE-21463?page=com.atlassian.jira.plugi...
]
Xia Zhao commented on JBIDE-21463:
----------------------------------
[~adietish] Sorry for confused you. Let me try to explain it clearer. Here are all my test
steps in detail:
1. Prepare 2 applications which will deliver different HTML outputs on a same port 8080.
Say pod1 in project1 will reurn string "I'm A" if you curl
http://127.0.0.1/8080 after a successful port-forward operation, and pod2 in project2 will
reutrn string "I'm B" if you curl
http://127.0.0.1/8080 after a successful
port-forward operation. (Let me know if you need the detailed application json files for
these 2 projects)
2. Deploy these 2 applications sepereately into project1 and project2 of openshift
3. Login openshift with JBT (I used Jboss Developer Studio on Mac OS)
4. Inside JBT, go to project1, right click on pod1 (when this pod is running healty),
port-forward it to local port 8080 --> This is used to make local 8080 port is now in
use
5. curl
http://127.0.0.1/8080, should return string "I'm A" in the result
HTML file
6. If you go back to JBT, close the port-forward window in step #4, and revisit it ,
should still see from UI that port forwarding is in process
7. Now go to project2, right click on pod2 (when this pod is running healty), port-forward
it to local port 8080 --> This should not be success since port 8080 is already in use,
but no error message is popped up, and the Port Forward wizard pretended to be succeeded.
8. Close the port-forward window in step7, and revisit it for the 2nd time now, we can see
from the UI that port forwarding is ended.
9. curl
http://127.0.0.1/8080, still return string "I'm A" in the result
HTML file, this means the port forward in step4 is still taking effect, and the attempt in
step 6 had failed, this is the expected result here.
Please let me know if anything is still confusing you.
Thanks,
Xia
No error message pop up when attempt to port-forward to a port in
use
---------------------------------------------------------------------
Key: JBIDE-21463
URL:
https://issues.jboss.org/browse/JBIDE-21463
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.3.1.Beta2
Environment: OpenShift 3 Tools: 3.1.0.Beta2-v20160114-1935-B149
OS: Fedora 17 & MAC OS 10
Reporter: Xia Zhao
Assignee: Andre Dietisheim
Labels: openshift_v3
No error message pop up when attempt to port-forward to a port in use in Jboss Developer
Studio. This issue does not repro in Eclipse on Mac OS.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)