Sathish Sundararajan
01/18/2023, 3:59 PMError: Received unexpected error:
retreived an empty message
UsingPlugin(message.PluginConfig{
Plugin: "protobuf",
Version: "0.2.4",
}).
uglyog
Sathish Sundararajan
01/19/2023, 1:00 PMSathish Sundararajan
01/23/2023, 2:11 PMJason Taylor
01/23/2023, 2:31 PMSathish Sundararajan
01/24/2023, 2:17 PMSathish Sundararajan
01/30/2023, 4:55 PMMatt (pactflow.io / pact-js / pact-go)
Sathish Sundararajan
01/30/2023, 9:09 PMMatt (pactflow.io / pact-js / pact-go)
Jason Taylor
02/01/2023, 6:28 PMgrpcInteraction := `{
"pact:content-type": "application/protobuf",
"request": {
},
Jason Taylor
02/01/2023, 6:28 PMMatt (pactflow.io / pact-js / pact-go)
Sathish Sundararajan
02/02/2023, 1:18 AMSathish Sundararajan
02/02/2023, 1:23 AMMatt (pactflow.io / pact-js / pact-go)
uglyog
uglyog
Sathish Sundararajan
02/02/2023, 1:54 AM"pact:proto": "` + path + `",
"pact:proto-service": "Service/ValidateToken",
"pact:content-type": "application/protobuf",
"request": {
},
"metadata" : {
"Auth": "matching(type, 'value')"
}
Jason Taylor
02/02/2023, 3:27 PMSathish Sundararajan
02/02/2023, 3:31 PMJason Taylor
02/02/2023, 3:38 PMimport (
@@ -37,8 +34,6 @@ func TestGrpcInteraction(t *testing.T) {
"pact:proto-service": "RouteGuide/GetFeature",
"pact:content-type": "application/protobuf",
"request": {
- "latitude": "matching(number, 180)",
- "longitude": "matching(number, 200)"
},
"response": {
Jason Taylor
02/02/2023, 3:38 PM$ go test .
2023-02-02T15:38:13.418161Z WARN tokio-runtime-worker pact_plugin_driver::metrics:
Please note:
We are tracking this plugin load anonymously to gather important usage statistics.
To disable tracking, set the 'pact_do_not_track' environment variable to 'true'.
--- FAIL: TestGrpcInteraction (0.66s)
grpc_consumer_test.go:89:
Error Trace: grpc_consumer_test.go:89
Error: Received unexpected error:
retreived an empty message
Test: TestGrpcInteraction
FAIL
FAIL <http://github.com/pact-foundation/pact-go/v2/examples/grpc|github.com/pact-foundation/pact-go/v2/examples/grpc> 0.670s
FAIL
uglyog
Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Sathish Sundararajan
02/03/2023, 2:15 PMJason Taylor
02/03/2023, 2:58 PM$ ~/.pact/bin/pact-plugin-cli list
ββββββββββββ¬ββββββββββ¬ββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββββ¬ββββββββββ
β Name β Version β Interface Version β Directory β Status β
ββββββββββββͺββββββββββͺββββββββββββββββββββͺβββββββββββββββββββββββββββββββββββββββββͺββββββββββ‘
β protobuf β 0.2.5 β 1 β /home/dev/.pact/plugins/protobuf-0.2.5 β enabled β
ββββββββββββ΄ββββββββββ΄ββββββββββββββββββββ΄βββββββββββββββββββββββββββββββββββββββββ΄ββββββββββ
(.venv) dev β ~/ws/pact-go/examples/grpc (2.x.x β) $ go test -v .
=== RUN TestGrpcInteraction
2023-02-03T14:31:21.293882Z WARN tokio-runtime-worker pact_plugin_driver::metrics:
Please note:
We are tracking this plugin load anonymously to gather important usage statistics.
To disable tracking, set the 'pact_do_not_track' environment variable to 'true'.
grpc_consumer_test.go:89:
Error Trace: grpc_consumer_test.go:89
Error: Received unexpected error:
retreived an empty message
Test: TestGrpcInteraction
--- FAIL: TestGrpcInteraction (0.65s)
FAIL
FAIL <http://github.com/pact-foundation/pact-go/v2/examples/grpc|github.com/pact-foundation/pact-go/v2/examples/grpc> 0.652s
FAIL
Sathish Sundararajan
02/03/2023, 3:02 PMSathish Sundararajan
02/03/2023, 3:05 PMuglyog
Sathish Sundararajan
02/06/2023, 2:22 PMMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Sathish Sundararajan
02/07/2023, 4:52 PM