Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#3336] improvement(test): make docker detection failure error messages more clear #3538

Merged
merged 2 commits into from
May 24, 2024

Conversation

mchades
Copy link
Contributor

@mchades mchades commented May 23, 2024

What changes were proposed in this pull request?

  • clarify OrbStack status
  • check the docker env before IT start

Why are the changes needed?

The previous detection logic was located in the constructor, and when the test failed, it would throw an exception ExceptionInInitializerError, causing the original error to be covered.

Fix: #3336

Does this PR introduce any user-facing change?

no

How was this patch tested?

Locally, by hand

@jerryshao jerryshao merged commit 0301c3f into apache:main May 24, 2024
22 checks passed
github-actions bot pushed a commit that referenced this pull request May 24, 2024
…es more clear (#3538)

### What changes were proposed in this pull request?

 - clarify OrbStack status
 - check the docker env before IT start

### Why are the changes needed?

The previous detection logic was located in the constructor, and when
the test failed, it would throw an exception
`ExceptionInInitializerError`, causing the original error to be covered.

Fix: #3336 

### Does this PR introduce _any_ user-facing change?

no

### How was this patch tested?

Locally, by hand
diqiu50 pushed a commit to diqiu50/gravitino that referenced this pull request Jun 13, 2024
…messages more clear (apache#3538)

### What changes were proposed in this pull request?

 - clarify OrbStack status
 - check the docker env before IT start

### Why are the changes needed?

The previous detection logic was located in the constructor, and when
the test failed, it would throw an exception
`ExceptionInInitializerError`, causing the original error to be covered.

Fix: apache#3336 

### Does this PR introduce _any_ user-facing change?

no

### How was this patch tested?

Locally, by hand
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug report] Build: Unable to build gravitino in Linux environment due to JAVA problem
2 participants