GoogleCloudPlatform / GoogleCloudPlatform/java-docs-samples

datacatalog/snippets test(s) are failing

Đang mở
#9,244 0 bình luận 0 reaction 1 người được giao Được @jcesg nhận Xem trên GitHub
api: datacatalog priority: p1 samples triage me type: process
Ngôn ngữ chính
Java
Star
1.9k
Fork
2.9k
Merge trung bình
3 ngày 3 giờ
Pull request đã merge (30 ngày)
17

Mô tả

#### 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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.