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

fix: Add more tests for hive config loading #9074

Merged
merged 2 commits into from
Dec 2, 2022

Conversation

Xuanwo
Copy link
Member

@Xuanwo Xuanwo commented Dec 2, 2022

Signed-off-by: Xuanwo github@xuanwo.io

I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/

Summary

fix: Add more tests for hive config loading

We should not load args during our unit tests, because clap will try to parse the input for cargo test.

Signed-off-by: Xuanwo <github@xuanwo.io>
@vercel
Copy link

vercel bot commented Dec 2, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated
databend ⬜️ Ignored (Inspect) Dec 2, 2022 at 11:54AM (UTC)

@Xuanwo Xuanwo marked this pull request as ready for review December 2, 2022 11:40
@mergify mergify bot added the pr-bugfix this PR patches a bug in codebase label Dec 2, 2022
Signed-off-by: Xuanwo <github@xuanwo.io>
Copy link
Collaborator

@ClSlaid ClSlaid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice change to Hive Configuration!

src/query/config/src/inner.rs Outdated Show resolved Hide resolved
src/query/config/src/outer_v0.rs Outdated Show resolved Hide resolved
@BohuTANG BohuTANG merged commit 4aaa873 into datafuselabs:main Dec 2, 2022
@BohuTANG
Copy link
Member

BohuTANG commented Dec 2, 2022

We can do more unit tests for config, we can not do it because clap will try to parse the input for cargo test in the past.

@Xuanwo Xuanwo deleted the fix-hive-config branch December 2, 2022 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-bugfix this PR patches a bug in codebase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants