GoogleCloudPlatform / GoogleCloudPlatform/java-docs-samples

datacatalog/snippets test(s) are failing

未关闭
#9,244 0 条评论 0 个 reaction 已指派 1 人 已被 @jcesg 认领 在 GitHub 查看
api: datacatalog priority: p1 samples triage me type: process
主要语言
Java
星标
1.9k
派生
2.9k
平均合并
3 天 3 小时
30 天内合并 PR
17

描述

#### Description

After the dependency upgrades in #9234 one or more tests under [datacatalog/snippets][1] fail in Java 11 ([sponge][s11]) and Java 17 ([sponge][s17]).

Based on the errors it looks like the failing test is `com.example.datacatalog.LookupEntryTests.testLookupPubSubTopic` and the failure reason is `No permission to lookup Entry "//pubsub.googleapis.com/projects/pubsub-public-data/topics/taxirides-realtime" or it does not exist.`

Remove `Ignore` attribute from the tests after fixing the issue.

[1]: https://github.com/renovate-bot/java-docs-samples/tree/7e0e1e86a234f0eb6ef6cbdff76f549606cf4582/bigtable/datacatalog/snippets
[s11]: https://source.cloud.google.com/results/invocations/414ebc9d-1bde-4c38-b7ec-93d25dc2b3b1
[s17]: https://source.cloud.google.com/results/invocations/3cf4f262-5fa1-41c8-9e1a-65a14e28433f

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。