Skip to content

Datastore tests not running on Windows #163

Closed

Description

@mziccard

Running datastore tests on Windows Server 2012 leads causes the following error:

java.io.IOException: Cannot run program "cmd": NULL: (The filename, directory name, or volume label syntax is incorrect)

Caused by the NULL: at line:
https://github.com/GoogleCloudPlatform/gcloud-java/blob/master/gcloud-java-datastore/src/test/java/com/google/gcloud/datastore/LocalGcdHelper.java#L171

NUL: (with one L) seems to be a valid null device across Windows versions.

@aozarov shall we close this with #162 (as soon as it's ready) or create a dedicated PR?

Activity

  1. aozarov commented on Sep 16, 2015

    @aozarov
    Contributor

    Strange, we did test it on Windows before but maybe this was added later.

    Yes, @mziccard thanks for finding it. I think fixing it with #162 is fine.

  2. added
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    api: datastoreIssues related to the Datastore API.
    on Sep 17, 2015
  3. aozarov commented on Sep 18, 2015

    @aozarov
    Contributor

    Fixed in #162

  4. added a commit that references this issue on Sep 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

🚨 criticalP0 critical issue. Requires immediate fixapi: datastoreIssues related to the Datastore API.triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions