STRA-338: the archive-pin test of leleka-deploy reads the child file that now holds the pinned profile tests

This commit is contained in:
Pavlo Ratushnyi
2026-11-06 15:23:41 +01:00
parent c540944ceb
commit d0b2b633b8
+2 -1
View File
@@ -115,7 +115,8 @@ fn the_cublas_pin_matches_the_tool_and_the_documentation() {
#[test]
fn the_pinned_archive_digest_of_the_stamps_is_the_one_the_engine_pins() {
let engine = read("crates/engine-qwen35-cuda/src/model_binding/qwen4exp_kar_ple.rs");
// the pin is spelled out in the pinned-profile test module, which sits in a child file of qwen4exp_kar_ple.rs
let engine = read("crates/engine-qwen35-cuda/src/model_binding/qwen4exp_kar_ple/pinned_profile_tests.rs");
assert!(
engine.contains(leleka_deploy::profile::ARCHIVE_SHA256_HEX),
"the archive digest the supervisor stamps differs from the engine's pin"