You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm hosting my mock service with docker in a git runner (ubuntu 22.04). No issues with the service itself, it is contactable. However the IS statement in the following mock, which takes the below posted TestRequest as input, is misbehaving:
This shows despite the example.field having been shown to be success, the mock still chooses to return the error and I can't understand why.
NOTE: The mock behaves correclty when I run with camouflage. I see this behavior when I am running with docker on a Git runner.
To Reproduce
Steps to reproduce the behavior:
Setup camouflage in a git workflow
Run the mock with docker
Make a request to the mock rpc with example.field = 'success'
Check response
Expected behavior
I would expect if the error message from the rpc is saying that example.field is equal to 'success', then an error would not be returned, but rather the repsonse given in the first block of the IS.
Desktop (please complete the following information):
OS: ubuntu 22.04 (current ubuntu-latest version of Git Runner)
The text was updated successfully, but these errors were encountered:
My guess is that this is related to #193, which was fixed and set to completed on Jul 18, 2023, but the latest release on docker was more than year ago. That would mean the fix I need isn't available in the published docker containers, which makes this also related to #236.
Describe the bug
I'm hosting my mock service with docker in a git runner (ubuntu 22.04). No issues with the service itself, it is contactable. However the IS statement in the following mock, which takes the below posted TestRequest as input, is misbehaving:
Here is my proto definition:
When I run tests on this mock where I have the request
example.field
value set tosuccess
, it fails with the following output in my terminal:2024/02/16 16:15:54 ERROR rpc error: code = Unknown desc = Unsuccessful example field: success"
This shows despite the
example.field
having been shown to besuccess
, the mock still chooses to return the error and I can't understand why.NOTE: The mock behaves correclty when I run with camouflage. I see this behavior when I am running with docker on a Git runner.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I would expect if the error message from the rpc is saying that example.field is equal to 'success', then an error would not be returned, but rather the repsonse given in the first block of the IS.
Desktop (please complete the following information):
ubuntu-latest
version of Git Runner)The text was updated successfully, but these errors were encountered: