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

refactor: bundle the lightweight axum test client #3669

Merged
merged 2 commits into from
Apr 9, 2024

Conversation

tisonkun
Copy link
Contributor

@tisonkun tisonkun commented Apr 8, 2024

I hereby agree to the terms of the GreptimeDB CLA.

Refer to a related PR or issue link (optional)

What's changed and what's your intention?

This is a thin HTTP client (see tokio-rs/axum#1146 (comment)) so we can drop one unnecessary dep. The upstream of axum-test-helper is not quite active so it may stop us from upgrading other deps. See cloudwalk/axum-test-helper#29.

Checklist

  • I have written the necessary rustdoc comments.
  • I have added the necessary unit tests and integration tests.
  • This PR does not require documentation updates.

@github-actions github-actions bot added the docs-not-required This change does not impact docs. label Apr 8, 2024
Copy link

codecov bot commented Apr 8, 2024

Codecov Report

Attention: Patch coverage is 58.19672% with 51 lines in your changes are missing coverage. Please review.

Project coverage is 84.83%. Comparing base (28fd0dc) to head (5c810af).
Report is 7 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3669      +/-   ##
==========================================
- Coverage   85.15%   84.83%   -0.33%     
==========================================
  Files         949      950       +1     
  Lines      158555   158795     +240     
==========================================
- Hits       135022   134709     -313     
- Misses      23533    24086     +553     

Signed-off-by: tison <wander4096@gmail.com>
src/servers/Cargo.toml Outdated Show resolved Hide resolved
Copy link
Collaborator

@etolbakov etolbakov left a comment

Choose a reason for hiding this comment

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

LGTM

@tisonkun tisonkun requested a review from waynexia April 9, 2024 01:00
Copy link
Contributor

@killme2008 killme2008 left a comment

Choose a reason for hiding this comment

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

LGTM Almostly

src/servers/Cargo.toml Outdated Show resolved Hide resolved
src/servers/src/http/test_helpers.rs Show resolved Hide resolved
@tisonkun
Copy link
Contributor Author

tisonkun commented Apr 9, 2024

@killme2008 all resolved.

Signed-off-by: tison <wander4096@gmail.com>
@killme2008 killme2008 added this pull request to the merge queue Apr 9, 2024
Merged via the queue into GreptimeTeam:main with commit 883b7fc Apr 9, 2024
20 checks passed
@tisonkun tisonkun deleted the drop-axum-test-helper branch April 9, 2024 03:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-not-required This change does not impact docs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants