test(adversary): pin exact died-evidence prefix on the criterion_fault crash path
The crash-path assertion checked only "PIPELINE-FAULT:"; verdict.py's died() keys on "PIPELINE-FAULT: criterion ", so a regression there would have passed the test yet stopped the crashed marker from rendering as DIED.
This commit is contained in:
1 file changed
+2
-2
@@ -8937,8 +8937,8 @@ mod tests {
|
||||
v["evidence"]
|
||||
.as_str()
|
||||
.unwrap()
|
||||
.starts_with("PIPELINE-FAULT:"),
|
||||
"the fault prefix must survive a crash: {out}"
|
||||
.starts_with("PIPELINE-FAULT: criterion "),
|
||||
"the crash path must emit the exact prefix verdict.py's died() keys on: {out}"
|
||||
);
|
||||
assert!(
|
||||
v["complaint"]
|
||||
|
||||
Reference in new issue
Block a user