Folks, we are writing grpc contract test. For the ...
# protobufs
s
Folks, we are writing grpc contract test. For the part where we pass the proto file path to the grpc plugin, if the file is located in the same directory(or subdirectories) where the test is run from, it works. If the file is even one level up, then the plugin throws the error that it cannot find the file. Is there some restriction that the proto file has to be in or under the current folder level where the test runs from ?
u
Are you using an absolute or relative path for the proto files?
s
@uglyog they are absolute paths and not relative. @Wesley Newcomb
@uglyog bump
u
Sorry, I don't have any more information here. The plugin uses gRPC protoc to compile the proto files. That is what is probably throwing the error, and I wouldn't know why it would do that.
s
oh ok sure thanks
u
Are you running things in docker?
s
yeah in a container
u
Ok, and the parent directory is not mounted into the container, right?
s
Yes, I can view the file from within the container using the same path that plugin is reporting unable to find