Portforward 0.4.3 hanging forever with pytest
alaeddine-13 opened this issue · comments
- portforward version: 0.4.3
- Python version: Python 3.8.8
- Operating System: Ubunutu 18.0.4
Description
It looks like portforward when used within a pytest environment, it will hang forever.
In Jina's CI tests, we use portforward to test deployed services.
However, since the latest 0.4.3, the CI will hang forever right when portforward is called. Therefore, we had to limit the portforward version to 0.4.2
What I Did
in a pytest script, do portforwarding to any pod:
with portforward.forward(
namespace, pod_name, port, port, config_path
):
this will hang forever
thx for your report.
I found the issue and fix it. The version 0.4.4 will be released today.