nv-morpheus / Morpheus

Morpheus SDK
Apache License 2.0
347 stars 130 forks source link

[FEA]: Support running end-to-end tests with multiple threads #1668

Open dagardner-nv opened 5 months ago

dagardner-nv commented 5 months ago

Is this a new feature, an improvement, or a change to existing functionality?

Improvement

How would you describe the priority of this feature request

Medium

Please provide a clear description of problem this feature solves

Currently with both our Python mocked tests and Camouflage based tests rely on request ordering to determine which responses to return. Running with multiple threads causes responses to be returned out of order. This causes the results to not match up with the expected results, and in some cases would trigger a DCHECK or assert failure based on the expected shape of the response.

Describe your ideal solution

Select the appropriate response based upon the request payload.

Additional context

No response

Code of Conduct