GoogleCloudPlatform / GoogleCloudPlatform/java-docs-samples

datacatalog/snippets test(s) are failing

Abierto
#9,244 0 comentarios 0 reacciones 1 asignado Reclamado por @jcesg Ver en GitHub
api: datacatalog priority: p1 samples triage me type: process
Lenguaje dominante
Java
Estrellas
1.9k
Forks
2.9k
Merge medio
3 d 3 h
PR fusionados (30 d)
17

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.