discoveryengine tests hard-code project ID #3569
Labels
api: discoveryengine
Issues related to the Discovery Engine API API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
samples
Issues that are directly related to samples.
stale: old
Pull request is old and needs attention.
triage me
I really want to be triaged.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
The discoveryengine tests at
golang-samples/discoveryengine/search_test.go
Line 4 in f2e5277
will never pass, as they hardcode a project id, and they appear to require a search engine resource that does not exist in our test projects. The tests should use
testutil.SystemTest()
to retrieve a project ID, and dynamically create the other necessary resources, if possible.These tests appeared to pass at merge time because of #3568. oops!
The text was updated successfully, but these errors were encountered: