ci(lesavka): publish only real test categories
This commit is contained in:
parent
0fb382127d
commit
5448dd1e36
@ -402,7 +402,7 @@ path = "tests/e2e/scripts/manual/upstream_media_e2e_contract.rs"
|
||||
|
||||
[[test]]
|
||||
name = "client_rct_transport_summary_golden_contract"
|
||||
path = "tests/golden/diagnostics/client_rct_transport_summary_golden_contract.rs"
|
||||
path = "tests/contract/diagnostics/client_rct_transport_summary_golden_contract.rs"
|
||||
|
||||
[[test]]
|
||||
name = "client_server_rct_blind_route_e2e_contract"
|
||||
|
||||
@ -83,10 +83,9 @@ test_category_names = {
|
||||
'integration', 'manual', 'performance', 'regression', 'reliability',
|
||||
'security', 'smoke', 'system', 'ui', 'unit',
|
||||
}
|
||||
support_category_names = {'fixtures', 'golden', 'helpers'}
|
||||
|
||||
def normalize_category(category: str) -> str:
|
||||
if category in test_category_names or category in support_category_names:
|
||||
if category in test_category_names:
|
||||
return category
|
||||
return 'uncategorized'
|
||||
|
||||
@ -277,6 +276,7 @@ publish_metrics() {
|
||||
fi
|
||||
|
||||
curl --fail --silent --show-error \
|
||||
--request PUT \
|
||||
--data-binary @"${METRICS_FILE}" \
|
||||
"${PUSHGATEWAY_URL%/}/metrics/job/${PUSHGATEWAY_JOB}/suite/lesavka/gate/tests"
|
||||
}
|
||||
|
||||
@ -20,17 +20,17 @@ const CASES: &[SummaryCase] = &[
|
||||
SummaryCase {
|
||||
name: "pass",
|
||||
json: include_str!("../../fixtures/client_rct/transport_summary_pass.json"),
|
||||
golden: include_str!("../client_rct/transport_summary_pass.txt"),
|
||||
golden: include_str!("../../golden/client_rct/transport_summary_pass.txt"),
|
||||
},
|
||||
SummaryCase {
|
||||
name: "weak evidence",
|
||||
json: include_str!("../../fixtures/client_rct/transport_summary_weak_evidence.json"),
|
||||
golden: include_str!("../client_rct/transport_summary_weak_evidence.txt"),
|
||||
golden: include_str!("../../golden/client_rct/transport_summary_weak_evidence.txt"),
|
||||
},
|
||||
SummaryCase {
|
||||
name: "freshness fail",
|
||||
json: include_str!("../../fixtures/client_rct/transport_summary_freshness_fail.json"),
|
||||
golden: include_str!("../client_rct/transport_summary_freshness_fail.txt"),
|
||||
golden: include_str!("../../golden/client_rct/transport_summary_freshness_fail.txt"),
|
||||
},
|
||||
];
|
||||
|
||||
@ -174,8 +174,8 @@ fn audio_epoch_ui_security_install_and_diagnostics_are_backstopped() {
|
||||
path: "tests/contract/diagnostics/report_schema_contract.rs",
|
||||
},
|
||||
EvidencePath {
|
||||
category: "golden",
|
||||
path: "tests/golden/diagnostics/client_rct_transport_summary_golden_contract.rs",
|
||||
category: "contract",
|
||||
path: "tests/contract/diagnostics/client_rct_transport_summary_golden_contract.rs",
|
||||
},
|
||||
EvidencePath {
|
||||
category: "reliability",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user