diff --git a/Cargo.toml b/Cargo.toml index 5ae0c0e7..5d48f51b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -101,9 +101,10 @@ test-scw-managed-services = [] test-all-managed-services = ["test-aws-managed-services", "test-do-managed-services", "test-scw-managed-services"] test-aws-infra = [] +test-aws-infra-ec2 = [] test-do-infra = [] test-scw-infra = [] -test-all-infra = ["test-aws-infra", "test-do-infra", "test-scw-infra"] +test-all-infra = ["test-aws-infra", "test-aws-infra-ec2", "test-do-infra", "test-scw-infra"] test-aws-whole-enchilada = [] test-do-whole-enchilada = [] @@ -111,7 +112,7 @@ test-scw-whole-enchilada = [] test-all-whole-enchilada = ["test-aws-whole-enchilada", "test-do-whole-enchilada", "test-scw-whole-enchilada"] # functionnal tests by provider -test-aws-all = ["test-aws-infra", "test-aws-managed-services", "test-aws-self-hosted", "test-aws-whole-enchilada"] +test-aws-all = ["test-aws-infra", "test-aws-infra-ec2", "test-aws-managed-services", "test-aws-self-hosted", "test-aws-whole-enchilada"] test-do-all = ["test-do-infra", "test-do-managed-services", "test-do-self-hosted", "test-do-whole-enchilada"] test-scw-all = ["test-scw-infra", "test-scw-managed-services", "test-scw-self-hosted", "test-scw-whole-enchilada"] diff --git a/tests/aws/aws_kubernetes_ec2.rs b/tests/aws/aws_kubernetes_ec2.rs index 074abe5f..425647c5 100644 --- a/tests/aws/aws_kubernetes_ec2.rs +++ b/tests/aws/aws_kubernetes_ec2.rs @@ -14,7 +14,7 @@ use test_utilities::common::{cluster_test, ClusterDomain, ClusterTestType}; pub const AWS_K3S_VERSION: &str = "v1.20.15+k3s1"; -#[cfg(feature = "test-aws-infra")] +#[cfg(feature = "test-aws-infra-ec2")] fn create_and_destroy_aws_ec2_k3s_cluster( region: String, test_type: ClusterTestType, @@ -52,7 +52,7 @@ fn create_and_destroy_aws_ec2_k3s_cluster( It is useful to keep 2 clusters deployment tests to run in // to validate there is no name collision (overlaping) */ -#[cfg(feature = "test-aws-infra")] +#[cfg(feature = "test-aws-infra-ec2")] #[named] #[test] fn create_and_destroy_aws_ec2_k3s_cluster_eu_west_3() {