GoogleCloudPlatform / GoogleCloudPlatform/java-docs-samples

datacatalog/snippets test(s) are failing

Offen
#9,244 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @jcesg Auf GitHub ansehen
api: datacatalog priority: p1 samples triage me type: process
Vorherrschende Sprache
Java
Sterne
1.9k
Forks
2.9k
Ø Merge
3 T. 3 Std.
Gemergte PRs (30 T.)
17

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.