Skip to content

Datastore + gRPC Travis errors #1199

@stephenplusplus

Description

@stephenplusplus

We're getting a new error in Travis, but it cannot be reproduced locally:

  1) Datastore create, retrieve and delete should save keys as a part of entity and query by key:
     Uncaught Error: one of fields Query.query and Query.gql_query must be set
      at node_modules/grpc/src/node/src/client.js:411:17

https://travis-ci.org/GoogleCloudPlatform/gcloud-node/jobs/120723899#L5784

This is an error from gRPC saying that the object we're giving it is missing a required property from the proto file's Query message schema. The object that it's talking about goes through a few phases before it gets to gRPC, but it is first defined here ... eventually being passed to gRPC here.

As far as I can see, we are not deleting the query property, yet only on Travis, gRPC says that we are. At the moment, I'm not sure where to look, so I'm putting this out for extra eyes.

Metadata

Metadata

Labels

api: datastoreIssues related to the Datastore API.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions