-
Notifications
You must be signed in to change notification settings - Fork 354
Cannot run workspace tests without --all-features #4528
Copy link
Copy link
Open
Labels
ClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.CosmosThe azure_cosmos crateThe azure_cosmos crateneeds-team-triageWorkflow: This issue needs the team to triage.Workflow: This issue needs the team to triage.test-reliabilityIssue that causes tests to be unreliableIssue that causes tests to be unreliable
Metadata
Metadata
Assignees
Labels
ClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.CosmosThe azure_cosmos crateThe azure_cosmos crateneeds-team-triageWorkflow: This issue needs the team to triage.Workflow: This issue needs the team to triage.test-reliabilityIssue that causes tests to be unreliableIssue that causes tests to be unreliable
Type
Fields
Give feedbackNo fields configured for Bug.
Projects
StatusShow more project fields
Untriaged
StatusShow more project fields
Todo
Cosmos tests are failing to compile when running e.g.,
cargo testin the workspace root without--all-features. The problem is thatsdk/cosmos/azure_data_cosmos/tests/framework/mod.rsdeclarespub mod test_clientbutsdk/cosmos/azure_data_cosmos/tests/framework/test_client.rsitself has a#![cfg(feature = "fault_injection")]. Thepub use test_client::{/*...*/}inmod.rsdidn't. I added it, but lots of types that were exported aren't gated.I should be able to test the workspace for cross-cutting changes without
--all-features, which takes longer and is often unnecessary at least as an initial test.