-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
🚨This issue needs some love.This issue needs some love.triage meI really want to be triaged.I really want to be triaged.
Description
We often get errors like these, which are not caused by the way we are using Datastore, but the fact that Datastore calls can occasionally fail.
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.792 sec <<< FAILURE! - in com.google.appengine.sparkdemo.UserControllerTest
com.google.appengine.sparkdemo.UserControllerTest Time elapsed: 0.792 sec <<< ERROR!
com.google.gcloud.datastore.DatastoreException:
Backend Error
I think ideally we would use the local emulator for Datastore unit tests, as this makes the tests faster and more hermetic.
It would also be nice for our tracking to have an "integration test" which does make the real call. We can ignore failures caused by the system, but would be good to track how often they fail versus pass.
Metadata
Metadata
Assignees
Labels
🚨This issue needs some love.This issue needs some love.triage meI really want to be triaged.I really want to be triaged.
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
tswast commentedon May 5, 2016
Closing for now, as it seems to have settled down some. (Maybe due to a change in the gcloud-java retry logic)
lesv commentedon May 5, 2016
I asked gcloud-java team to match the Datastore SLA in their retry logic.
chore(deps): update dependency com.google.cloud.samples:shared-config…
chore(deps): update dependency com.google.cloud.samples:shared-config…
chore(deps): update dependency com.google.cloud:libraries-bom to v5.4…
chore(deps): update dependency com.google.cloud:libraries-bom to v5 (#…
chore(deps): update dependency com.google.cloud:libraries-bom to v5.4…
samples: migrate code from googleapis/java-speech (#7437)