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

This commit is contained in:
pitboss 2026-05-22 02:24:44 -05:00
parent ed63433c61
commit e2940fc3cc
3 changed files with 636 additions and 57 deletions

View file

@ -562,6 +562,17 @@ mod e2e_phase_06 {
events.iter().any(|e| e.summary.starts_with("SEARCH (uid=")),
"Python harness stub events must carry a `(uid=…)` filter; got {events:?}",
);
// The Python emitter now dispatches via a pure-stdlib LDAPv3 BER
// client, 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")),
"Python harness must exercise the LDAPv3 BER path; got {events:?}",
);
}
#[test]
@ -582,5 +593,16 @@ mod e2e_phase_06 {
events.iter().any(|e| e.summary.starts_with("SEARCH (uid=")),
"PHP harness stub events must carry a `(uid=…)` filter; got {events:?}",
);
// The PHP emitter now dispatches via a core-PHP LDAPv3 BER client
// (no `ext-ldap` dep), 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")),
"PHP harness must exercise the LDAPv3 BER path; got {events:?}",
);
}
}