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

API tests are non-functional #21487

Open
bruceg opened this issue Oct 11, 2024 · 0 comments
Open

API tests are non-functional #21487

bruceg opened this issue Oct 11, 2024 · 0 comments
Labels
domain: tests Anything related to Vector's internal tests type: tech debt A code change that does not add user value.

Comments

@bruceg
Copy link
Member

bruceg commented Oct 11, 2024

The API tests in Vector are gated behind the feature flag vector-api-tests. However, actually building the tests by enabling that flag (cargo test --lib --features api,vector-api-tests) results in 45 build errors. Obviously these should be fixed.

Note: This was discovered while resolving issues with the Rust 1.80 version bump (#20949). While resolving this issue, we should also merge the tests that were moved to lib/vector-tap/src/lib.rs back into src/api/tests.rs since the former rely on features that are only present in src.

@bruceg bruceg added domain: tests Anything related to Vector's internal tests type: tech debt A code change that does not add user value. labels Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain: tests Anything related to Vector's internal tests type: tech debt A code change that does not add user value.
Projects
None yet
Development

No branches or pull requests

1 participant