Hey folks. Im facing a weird error when I try to v...
# protobufs
a
Hey folks. Im facing a weird error when I try to verify my grpc-contract in the provider side:
Copy code
Plugin protobuf failed to validate the interaction: Plugin configuration item with key '330d8b9b2fef4480c366dd95e2ebb56e' is required. Received config ["f58d69682eec609d725e46c388aff650"]
io.pact.plugins.jvm.core.PactPluginValidationForInteractionException: Plugin protobuf failed to validate the interaction: Plugin configuration item with key '330d8b9b2fef4480c366dd95e2ebb56e' is required. Received config ["f58d69682eec609d725e46c388aff650"]
Do you all know what about this error? Thanks guys.
u
Do a clean before running your consumer tests, you probably have a stale Pact file affecting things
a
Yes, I cleaned,,, and also removed. My service is generating one contract that uses different proto files, I think that it can be the problem. Pact is always generating only one of this files in the configurations: Example:
Copy code
"plugins": [
      {
        "configuration": {
          "bd82122dd37a0a29e676d1f63ef62eba": {
            "protoDescriptors": "",
            "protoFile": ""
          }
        },
        "name": "protobuf",
        "version": "0.3.4"
      }
    ]
u
Can you provide the test?