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

Make client tests work without server feature #3790

Open
seanmonstar opened this issue Nov 20, 2024 · 0 comments
Open

Make client tests work without server feature #3790

seanmonstar opened this issue Nov 20, 2024 · 0 comments
Labels
A-tests Area: tests. C-refactor Category: refactor. This would improve the clarity of internal code. E-easy Effort: easy. A task that would be a great starting point for a new contributor.

Comments

@seanmonstar
Copy link
Member

Running cargo test --features http1,http2,client fails to compile because it uses some types only available when the server feature is also enabled. Fixing this would just require adding or adjusting #[cfg(feature = ...)] attributes, paying attention to the compiler error messages.

For CI, the ffi job can be adjusted to no longer enable server when running the tests.

@seanmonstar seanmonstar added E-easy Effort: easy. A task that would be a great starting point for a new contributor. A-tests Area: tests. C-refactor Category: refactor. This would improve the clarity of internal code. labels Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tests Area: tests. C-refactor Category: refactor. This would improve the clarity of internal code. E-easy Effort: easy. A task that would be a great starting point for a new contributor.
Projects
None yet
Development

No branches or pull requests

1 participant