Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VDMS hangs when the test "ImageTest.ImageLoop" is run and the udf_server doesn't return a valid value in "/image" POST due to an invalid response message #237

Open
rolandoquesada opened this issue Oct 19, 2024 · 0 comments
Labels
Bug Indicates unexpected or undesired behaviors

Comments

@rolandoquesada
Copy link
Contributor

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:

  1. Open the udf_server.py file located at tests/remote_function_test directory.

  2. Locate the "/image" POST service in that udf_server.py file

  3. Comment or remove all the code of that function and add a new line which returns an empty string (return "")
    image

  4. Run the ImageTest tests with the following command in the tests directory
    image

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

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

@rolandoquesada rolandoquesada added the Bug Indicates unexpected or undesired behaviors label Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Indicates unexpected or undesired behaviors
Projects
None yet
Development

No branches or pull requests

1 participant