Skip to content

Make client tests work without server feature #3790

Closed
@seanmonstar

Description

@seanmonstar

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-testsArea: tests.C-refactorCategory: refactor. This would improve the clarity of internal code.E-easyEffort: easy. A task that would be a great starting point for a new contributor.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions