Skip to content

discoveryengine package unit tests fail on windows. #7297

@pearigee

Description

@pearigee

Please make sure you have searched for information in the following guides.

Library Name

packages/google-cloud-discoveryengine

A screenshot that you have tested with "Try this API".

See #7287 and the past CI runs for details.

Failed CI: https://productionresultssa14.blob.core.windows.net/actions-results/29108869-c0ae-4d85-8551-0ca7c2027173/workflow-job-run-0cef050d-a482-5535-b377-4ef02c0bdd91/logs/job/job-logs.txt?rsct=text%2Fplain&se=2026-02-24T18%3A01%3A15Z&sig=cCv5VZs1vmT0wDHEbZCui1ywfKfJz5%2BfDU5Lk%2Bd9xcI%3D&ske=2026-02-24T21%3A00%3A29Z&skoid=ca7593d4-ee42-46cd-af88-8b886a2f84eb&sks=b&skt=2026-02-24T17%3A00%3A29Z&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skv=2025-11-05&sp=r&spr=https&sr=b&st=2026-02-24T17%3A51%3A10Z&sv=2025-11-05

Note I had to exempt this package in order for all windows tests to pass.

Link to the code that reproduces this issue. A link to a public Github Repository or gist with a minimal reproduction.

https://productionresultssa14.blob.core.windows.net/actions-results/29108869-c0ae-4d85-8551-0ca7c2027173/workflow-job-run-0cef050d-a482-5535-b377-4ef02c0bdd91/logs/job/job-logs.txt?rsct=text%2Fplain&se=2026-02-24T18%3A01%3A15Z&sig=cCv5VZs1vmT0wDHEbZCui1ywfKfJz5%2BfDU5Lk%2Bd9xcI%3D&ske=2026-02-24T21%3A00%3A29Z&skoid=ca7593d4-ee42-46cd-af88-8b886a2f84eb&sks=b&skt=2026-02-24T17%3A00%3A29Z&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skv=2025-11-05&sp=r&spr=https&sr=b&st=2026-02-24T17%3A51%3A10Z&sv=2025-11-05

A step-by-step description of how to reproduce the issue, based on the linked reproduction.

Run this unit test on windows using our CI.

A clear and concise description of what the bug is, and what you expected to happen.

I expect this test to pass regardless of platform.

A clear and concise description WHY you expect this behavior, i.e., was it a recent change, there is documentation that points to this behavior, etc. **

These packages should be OS agnostic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions