GoogleCloudPlatform / GoogleCloudPlatform/java-docs-samples

datacatalog/snippets test(s) are failing

Aperta
#9,244 0 commenti 0 reazioni 1 assegnatario Rivendicata da @jcesg Vedi su GitHub
api: datacatalog priority: p1 samples triage me type: process
Lingua principale
Java
Stelle
1.9k
Fork
2.9k
Merge medio
3g 3h
PR unite (30g)
17

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.