Skip to content

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

@rolandoquesada

Description

@rolandoquesada

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.

Metadata

Metadata

Assignees

Labels

BugIndicates unexpected or undesired behaviors

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions