Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions manifests/cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ manifest:
tests/parametric/test_dynamic_configuration.py::TestDynamicConfigV2::test_capability_tracing_http_header_tags: irrelevant (The CPP tracer doesn't support http header tags)
tests/parametric/test_dynamic_configuration.py::TestDynamicConfigV2::test_capability_tracing_logs_injection: irrelevant (Tracer doesn't support automatic logs injection)
tests/parametric/test_ffe/test_dynamic_evaluation.py::Test_Feature_Flag_Dynamic_Evaluation: missing_feature
tests/parametric/test_ffe/test_span_enrichment.py: missing_feature
tests/parametric/test_headers_b3.py::Test_Headers_B3::test_headers_b3_extract_invalid: missing_feature (format of DD_TRACE_PROPAGATION_STYLE_EXTRACT not supported)
tests/parametric/test_headers_b3.py::Test_Headers_B3::test_headers_b3_extract_valid: missing_feature (format of DD_TRACE_PROPAGATION_STYLE_EXTRACT not supported)
tests/parametric/test_headers_b3.py::Test_Headers_B3::test_headers_b3_inject_valid: missing_feature (format of DD_TRACE_PROPAGATION_STYLE_EXTRACT not supported)
Expand Down
1 change: 1 addition & 0 deletions manifests/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -810,6 +810,7 @@ manifest:
tests/parametric/test_ffe/test_dynamic_evaluation.py::Test_Feature_Flag_Dynamic_Evaluation: '>=3.36.0' # Modified by easy win activation script
tests/parametric/test_ffe/test_dynamic_evaluation.py::Test_Feature_Flag_Dynamic_Evaluation::test_ffe_flag_evaluation: missing_feature # Created by easy win activation script
tests/parametric/test_ffe/test_dynamic_evaluation.py::Test_Feature_Flag_Dynamic_Evaluation::test_ffe_of7_empty_targeting_key: missing_feature # Created by easy win activation script
tests/parametric/test_ffe/test_span_enrichment.py: missing_feature
tests/parametric/test_headers_b3.py::Test_Headers_B3::test_headers_b3_migrated_extract_valid: missing_feature (Need to remove b3=b3multi alias)
tests/parametric/test_headers_b3.py::Test_Headers_B3::test_headers_b3_migrated_inject_valid: missing_feature (Need to remove b3=b3multi alias)
tests/parametric/test_headers_b3.py::Test_Headers_B3::test_headers_b3_migrated_propagate_invalid: missing_feature (Need to remove b3=b3multi alias)
Expand Down
1 change: 1 addition & 0 deletions manifests/golang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1064,6 +1064,7 @@ manifest:
tests/parametric/test_dynamic_configuration.py::TestDynamicConfigV2: v1.59.0
tests/parametric/test_dynamic_configuration.py::TestDynamicConfigV2::test_capability_tracing_logs_injection: irrelevant (Tracer doesn't support automatic logs injection)
tests/parametric/test_ffe/test_dynamic_evaluation.py::Test_Feature_Flag_Dynamic_Evaluation: v2.5.0-dev
tests/parametric/test_ffe/test_span_enrichment.py: missing_feature
tests/parametric/test_headers_b3.py::Test_Headers_B3::test_headers_b3_migrated_extract_invalid: # Modified by easy win activation script
- declaration: missing_feature (Need to remove b3=b3multi alias)
component_version: <2.5.0
Expand Down
1 change: 1 addition & 0 deletions manifests/java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3608,6 +3608,7 @@ manifest:
tests/parametric/test_dynamic_configuration.py::TestDynamicConfigV2: v1.31.0
tests/parametric/test_ffe/test_dynamic_evaluation.py::Test_Feature_Flag_Dynamic_Evaluation: v1.56.0
tests/parametric/test_ffe/test_dynamic_evaluation.py::Test_Feature_Flag_Dynamic_Evaluation::test_ffe_of7_empty_targeting_key: bug (FFL-1729)
tests/parametric/test_ffe/test_span_enrichment.py: missing_feature
tests/parametric/test_headers_b3.py::Test_Headers_B3::test_headers_b3_migrated_extract_invalid: # Modified by easy win activation script
- declaration: missing_feature (Need to remove b3=b3multi alias)
component_version: <1.58.2+06122213c8
Expand Down
1 change: 1 addition & 0 deletions manifests/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1943,6 +1943,7 @@ manifest:
tests/parametric/test_dynamic_configuration.py::TestDynamicConfigV2: *ref_4_23_0
tests/parametric/test_ffe/test_dynamic_evaluation.py::Test_Feature_Flag_Dynamic_Evaluation: *ref_5_75_0
tests/parametric/test_ffe/test_dynamic_evaluation.py::Test_Feature_Flag_Dynamic_Evaluation::test_ffe_of7_empty_targeting_key: bug (FFL-1730)
tests/parametric/test_ffe/test_span_enrichment.py: missing_feature
tests/parametric/test_headers_b3.py::Test_Headers_B3::test_headers_b3_migrated_extract_invalid: missing_feature (Need to remove b3=b3multi alias)
tests/parametric/test_headers_b3.py::Test_Headers_B3::test_headers_b3_migrated_extract_valid: missing_feature (Need to remove b3=b3multi alias)
tests/parametric/test_headers_b3.py::Test_Headers_B3::test_headers_b3_migrated_inject_valid: missing_feature (Need to remove b3=b3multi alias)
Expand Down
1 change: 1 addition & 0 deletions manifests/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,7 @@ manifest:
tests/parametric/test_dynamic_configuration.py::TestDynamicConfigV2: '>=1.16.0'
tests/parametric/test_dynamic_configuration.py::TestDynamicConfigV2::test_tracing_client_tracing_tags: missing_feature
tests/parametric/test_ffe/test_dynamic_evaluation.py::Test_Feature_Flag_Dynamic_Evaluation: missing_feature
tests/parametric/test_ffe/test_span_enrichment.py: missing_feature
tests/parametric/test_headers_b3.py::Test_Headers_B3::test_headers_b3_migrated_extract_invalid:
- declaration: missing_feature (Need to remove b3=b3multi alias)
component_version: <1.16.0
Expand Down
1 change: 1 addition & 0 deletions manifests/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1723,6 +1723,7 @@ manifest:
- declaration: flaky (APMAPI-1400)
component_version: '>3.7.0'
tests/parametric/test_ffe/test_dynamic_evaluation.py::Test_Feature_Flag_Dynamic_Evaluation: v4.0.0
tests/parametric/test_ffe/test_span_enrichment.py: missing_feature
tests/parametric/test_headers_b3.py::Test_Headers_B3: v2.8.0
tests/parametric/test_headers_b3.py::Test_Headers_B3::test_headers_b3_extract_invalid:
- declaration: irrelevant (Deprecated in 3.x)
Expand Down
1 change: 1 addition & 0 deletions manifests/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1397,6 +1397,7 @@ manifest:
tests/parametric/test_dynamic_configuration.py::TestDynamicConfigV2::test_capability_tracing_custom_tags: missing_feature # Created by easy win activation script
tests/parametric/test_dynamic_configuration.py::TestDynamicConfigV2::test_tracing_client_tracing_tags: missing_feature # Created by easy win activation script
tests/parametric/test_ffe/test_dynamic_evaluation.py::Test_Feature_Flag_Dynamic_Evaluation: v2.23.0
tests/parametric/test_ffe/test_span_enrichment.py: missing_feature
tests/parametric/test_headers_b3.py::Test_Headers_B3::test_headers_b3_extract_invalid: # Easy win for all weblogs and version 2.27.0
- declaration: missing_feature (Missing for 2.x)
component_version: '>1.99.0'
Expand Down
1 change: 1 addition & 0 deletions manifests/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ manifest:
tests/parametric/test_dynamic_configuration.py::TestDynamicConfigV1_ServiceTargets::test_not_match_service_target: missing_feature # Created by easy win activation script
tests/parametric/test_dynamic_configuration.py::TestDynamicConfigV2: missing_feature # Created by easy win activation script
tests/parametric/test_ffe/test_dynamic_evaluation.py::Test_Feature_Flag_Dynamic_Evaluation: missing_feature
tests/parametric/test_ffe/test_span_enrichment.py: missing_feature
tests/parametric/test_headers_b3.py: '>=0.2.1' # Modified by easy win activation script
tests/parametric/test_headers_b3.py::Test_Headers_B3::test_headers_b3_extract_valid: missing_feature # Created by easy win activation script
tests/parametric/test_headers_b3.py::Test_Headers_B3::test_headers_b3_inject_valid: missing_feature # Created by easy win activation script
Expand Down
146 changes: 146 additions & 0 deletions tests/parametric/test_ffe/span-enrichment-flags.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
{
"createdAt": "2024-04-17T19:40:53.716Z",
"format": "SERVER",
"environment": {
"name": "Test"
},
"flags": {
"basic-flag": {
"key": "basic-flag",
"enabled": true,
"variationType": "BOOLEAN",
"variations": {
"on": {
"key": "on",
"value": true
},
"off": {
"key": "off",
"value": false
}
},
"allocations": [
{
"key": "on-allocation",
"rules": [],
"splits": [
{
"variationKey": "on",
"shards": [],
"serialId": 100
}
],
"doLog": true
}
]
},
"experiment-flag": {
"key": "experiment-flag",
"enabled": true,
"variationType": "STRING",
"variations": {
"control": {
"key": "control",
"value": "control"
},
"treatment": {
"key": "treatment",
"value": "treatment"
}
},
"allocations": [
{
"key": "experiment-allocation",
"rules": [],
"splits": [
{
"variationKey": "treatment",
"shards": [],
"serialId": 108
}
],
"doLog": true
}
]
},
"no-log-flag": {
"key": "no-log-flag",
"enabled": true,
"variationType": "BOOLEAN",
"variations": {
"on": {
"key": "on",
"value": true
},
"off": {
"key": "off",
"value": false
}
},
"allocations": [
{
"key": "no-log-allocation",
"rules": [],
"splits": [
{
"variationKey": "on",
"shards": [],
"serialId": 200
}
],
"doLog": false
}
]
},
"multi-serial-flag-1": {
"key": "multi-serial-flag-1",
"enabled": true,
"variationType": "INTEGER",
"variations": {
"v1": {
"key": "v1",
"value": 1
}
},
"allocations": [
{
"key": "allocation-1",
"rules": [],
"splits": [
{
"variationKey": "v1",
"shards": [],
"serialId": 128
}
],
"doLog": true
}
]
},
"multi-serial-flag-2": {
"key": "multi-serial-flag-2",
"enabled": true,
"variationType": "INTEGER",
"variations": {
"v2": {
"key": "v2",
"value": 2
}
},
"allocations": [
{
"key": "allocation-2",
"rules": [],
"splits": [
{
"variationKey": "v2",
"shards": [],
"serialId": 130
}
],
"doLog": true
}
]
}
}
}
4 changes: 3 additions & 1 deletion tests/parametric/test_ffe/test_dynamic_evaluation.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ def _get_test_case_files() -> list[str]:
if not test_data_dir.exists():
return []

return [f.name for f in test_data_dir.iterdir() if f.suffix == ".json" and f.name != "flags-v1.json"]
# Exclude base fixtures that aren't test cases
excluded = {"flags-v1.json", "span-enrichment-flags.json"}
return [f.name for f in test_data_dir.iterdir() if f.suffix == ".json" and f.name not in excluded]


# Load fixture at module level for reuse across tests
Expand Down
Loading
Loading