apache/gravitino

[Improvement] clarify docker test failure messages

Offen

#4.170 geöffnet am 16.07.2024

 (4 Kommentare) (0 Reaktionen) (2 zugewiesene Personen)Java (887 Forks)auto 404
good first issueimprovement

Repository-Metriken

Stars
 (3.058 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

What would you like to be improved?

Since the default value of skipDockerTests is true. When user runs the docker tests task without setting skipDockerTests=false, the test will be failed but the error message is confused:

  • What went wrong: Execution failed for task ':integration-test:test'.

No tests found for given includes: [org.apache.gravitino.integration.test.client.AuditIT](--tests filter)

note: use ./gradlew :integration-test:test --tests "org.apache.gravitino.integration.test.client.AuditIT" to reproduce

How should we improve?

We should add configuration modification instructions in the error message to help users locate the cause of the error more easily.

Contributor Guide