André Dietisheim created JBIDE-26699:
----------------------------------------
Summary: Server adapter: should error if port forwarding fails
Key: JBIDE-26699
URL:
https://issues.jboss.org/browse/JBIDE-26699
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.12.0.AM1
Reporter: André Dietisheim
steps:
# ASSERT: have a crc cluster installed where you didnt approve the certificates:
https://github.com/code-ready/crc/issues/218#issuecomment-501099558
# ASSERT: have an app (with a pod) running
# EXEC: create a server adapter for it and start it
# ASSERT: syncing fails
{code}
Could not sync folder
/Users/jkopriva/workspace_4589/.metadata/.plugins/org.jboss.ide.eclipse.as.core/123@eap-app/deploy
to all pods.
{code}
# EXEC: check if the port forwarding for the pod (of your app) is "Started"
Result:
The port forwarding for your pod is "Stopped". If you try to start it it'll
fail with the error
{code}
OpenShiftBinaryCapability process exited: error: error upgrading connection: error dialing
backend: remote error: tls: internal error
{code}
Expected result:
Starting the server adapter should fail and notify that the port forwarding failed.
Currently only the next step where syncing is attempted fails.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)