test(dispatch): red for #28 — saturated flock must honor context, all dispatch through Flock

This commit is contained in:
Smokey committed 2026-10-28 06:46:15 -06:00
1 parent 9f457eb512
commit c957bdd3f6
2 files changed
+175

No files matched your search

+6
View File
@@ -214,3 +214,9 @@ func promote(s *Server, crows ...string) {
s.p.Ledger.Crows[c+"|other"] = &Record{Approved: 10, Streak: 10, Level: Regular}
}
}
// serve mounts a server's handler on a test HTTP server.
func serve(s *Server) *httptest.Server {
ts := httptest.NewServer(s.Handler())
return ts
}