pact-foundation / pact-jvm

JVM version of Pact. Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project.
https://docs.pact.io
Apache License 2.0
1.08k stars 479 forks source link

gRPC plugin error with configuration #1699

Closed Subhojit-Dey1234 closed 1 year ago

Subhojit-Dey1234 commented 1 year ago

I am getting this error while running the Provider test.

io.pact.plugins.jvm.core.PactPluginValidationForInteractionException: Plugin protobuf failed to validate the interaction: Plugin configuration item with key '8d2f33efe1e67191da02b7ba19ad5733' is required. Received config ["5cf2b6380e0b780079ff3d630c0f6c71"]

rholshausen commented 1 year ago

There is a mismatch in your Pact file. Try run a clean before the consumer tests are run.

Subhojit-Dey1234 commented 1 year ago

Yup got it. Thanks for the help. Its working.