GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — It is too slow testing Datastore locally when use LocalDatastoreHelper · Issue #1300 · googleapis/google-cloud-java

It is too slow testing Datastore locally when use LocalDatastoreHelper #1300

New issue
Copy link
New issue
Copy link
Closed
#1303
Closed
It is too slow testing Datastore locally when use LocalDatastoreHelper#1300
#1303
Copy link
Assignees
mziccard
Labels
api: datastoreIssues related to the Datastore API.

Description

@pauloleitemoreira
pauloleitemoreira
opened on Sep 30, 2016
Issue body actions

It is too slow testing Datastore locally when we use com.google.cloud.datastore.testing.LocalDatastoreHelper in google-cloud-0.4.0 with cloud-datastore-emulator 1.2.1.

I figure out LocalDatastoreHelper define private static final String GCD_VERSION = "1.2.0"; and lastest gcloud datastore version is cloud-datastore-emulator 1.2.1 (gcloud-tools current version is 128.0.0). So, when we test by using LocalDatastoreHelper, it cannot find the cloud-datastore-emulator 1.2.0 version in gcloud path, and as result, it ends up making download of cloud-datastore-emulator 1.2.1 for each test case.

To solve this problem, I had to downgrade the gcloud-tools to 125.0.0.

Activity

  1. mziccard commented on Sep 30, 2016

    @mziccard
    mziccard
    on Sep 30, 2016
    Contributor
    More actions

    @pauloleitemoreira thanks for the report.
    You are right, there are 2 problems here:

    1. The version we specify in GCD_VERSION is the minimum required to successfully run the tests. We allow using an already installed version of the emulator but only if the version is an exact match (we don't check if the installed version is more recent yet). This is something we need to fix.
    2. It's odd that the emulator is re-downloaded with every test case. LocalDatastoreHelper should reuse previously downloaded emulators. This is a bug that you spotted, we did not update the value of MD5_CHECKSUM to match version 1.2.0, hence the emulator is always re-downloaded.

    I can fix 2. right away. I'll need some more time to start working on 1.

  2. mziccard
    added
    api: datastoreIssues related to the Datastore API.
    testing
    on Sep 30, 2016
  3. mziccard
    closed this as completedin #1303on Oct 5, 2016
  4. JustinBeckwith
    assigned
    mziccard
    on Feb 1, 2021
  5. github-actions
    added a commit that references this issue on Aug 18, 2022

    feat: Add client library support for AssetService v1 BatchGetEffectiv…

    3919a1d
  6. github-actions
    added a commit that references this issue on Sep 16, 2022

    chore(main): release 3.6.0 (#1313)

    1fbaf40
  7. meltsufin
    added a commit that references this issue on Dec 22, 2025

    chore: fix broken links in `README.md` (#1776) (#1300)

    7db3542
  8. chingor13
    added a commit that references this issue on Jan 6, 2026

    chore: add unmanaged dependency check (#1300)

    ef114ee
  9. chingor13
    added a commit that references this issue on Jan 22, 2026

    chore: remove obsolete release job configs (#1300)

    62cbc13
  10. suztomo
    added a commit that references this issue on Mar 11, 2026

    chore: fix broken links in `README.md` (googleapis#1776) (googleapis#…

    c3fc16e
  11. suztomo
    added 2 commits that reference this issue on Mar 23, 2026

    feat: support partitioned queries (googleapis#1300)

    504c0b3

    chore(main): release 2.13.0 (googleapis#1345)

    79ed936
  12. suztomo
    added a commit that references this issue on Mar 30, 2026

    build(deps): update dependency org.codehaus.mojo:build-helper-maven-p…

    f8b3731
  13. lqiu96
    added a commit that references this issue on Apr 1, 2026

    build(deps): update dependency org.codehaus.mojo:build-helper-maven-p…

    11103e7
  14. meltsufin
    added 2 commits that reference this issue on Apr 29, 2026

    chore: pin versions of dependencies for compatibility with Python 3.6 (…

    55ed63c

    chore: pin versions of dependencies for compatibility with Python 3.6 (…

    5831b95
  15. benjaminp
    added 3 commits that reference this issue on Jul 13, 2026

    fix: ignore repackaged files to fix clirr (googleapis#1300)

    a1eecdf

    chore(main): release 2.10.0 (googleapis#1302)

    ebacfde

    feat: Support Cloud Bigtable Changestream (googleapis#1569)

    99071f0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @mziccard
    mziccard

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

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.