Describe the bug
VDMS keeps in an infinite loop when it doesn't receive a valid response from the udf_server "/image" POST service
To Reproduce
Steps to reproduce the behavior:
-
Open the udf_server.py file located at tests/remote_function_test directory.
-
Locate the "/image" POST service in that udf_server.py file
-
Comment or remove all the code of that function and add a new line which returns an empty string (return "")

-
Run the ImageTest tests with the following command in the tests directory

-
Verify the testing gets frozen/hangs when the test called "ImageTest.ImageLoop" is run

Expected behavior
The test called "ImageTest.ImageLoop" should fail and VDMS should handle correctly the invalid response from the udf_server.