apache/gravitino

[Improvement] clarify docker test failure messages

开放

#4,170 创建于 2024年7月16日

 (4 条评论) (0 个反应) (2 位负责人)Java (887 个派生)auto 404
good first issueimprovement

仓库指标

星标
 (3,058 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南