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
The gRPC provider test does not work correctly when the proto file used to generate the pact includes an option java_package but lacks a package definition. The proto file is valid, and both the gRPC server and consumer test work as expected. However, the provider test fails with a "Method not found" error. It appears that the gRPC requests add a . (dot) before the service name specified in the proto file and in the pact, likely due to the missing package name.
Steps to Reproduce:
In the pact-plugins repository, update the proto/area_calculator.proto file (link to proto file), replacing package area_calculator; with option java_package = "area_calculator";.
Expected Behavior: The provider test should pass without requiring a package definition in the proto file, as the gRPC server and consumer test work as expected.
Actual Behavior: The provider test fails with the following error: 1) Verification Failed - gRPC error: status Operation is not implemented or not supported, message 'Method not found: .Calculator/calculateOne'
The text was updated successfully, but these errors were encountered:
The gRPC provider test does not work correctly when the proto file used to generate the pact includes an option java_package but lacks a package definition. The proto file is valid, and both the gRPC server and consumer test work as expected. However, the provider test fails with a "Method not found" error. It appears that the gRPC requests add a . (dot) before the service name specified in the proto file and in the pact, likely due to the missing package name.
Steps to Reproduce:
Expected Behavior: The provider test should pass without requiring a package definition in the proto file, as the gRPC server and consumer test work as expected.
Actual Behavior: The provider test fails with the following error:
1) Verification Failed - gRPC error: status Operation is not implemented or not supported, message 'Method not found: .Calculator/calculateOne'
The text was updated successfully, but these errors were encountered: