[pitboss/grind] deferred session-0006 (20260522T043516Z-29b8)

This commit is contained in:
pitboss 2026-05-22 02:06:08 -05:00
parent eacec70a13
commit ed63433c61
3 changed files with 99 additions and 55 deletions

View file

@ -532,6 +532,16 @@ mod e2e_phase_06 {
events.iter().any(|e| e.summary.starts_with("SEARCH (uid=")),
"Java harness stub events must carry a `(uid=…)` filter; got {events:?}",
);
// The Java emitter dispatches via `javax.naming.directory.InitialDirContext`,
// so the stub's BER handler must record `protocol=ldapv3` on at
// least one event — pins the tier-(b) wire format and prevents a
// regression that silently falls back to the plaintext path.
assert!(
events
.iter()
.any(|e| e.detail.get("protocol").map(String::as_str) == Some("ldapv3")),
"Java harness must exercise the LDAPv3 BER path; got {events:?}",
);
}
#[test]