Add internal capacity error identity

This commit is contained in:
2026-07-30 23:21:27 +00:00
parent 25a7052a3d
commit 63c67a4520
9 changed files with 681 additions and 565 deletions

View File

@@ -124,6 +124,11 @@ func TestManagerAdmissionHonorsContextAndUnlimitedBackends(t *testing.T) {
if err != nil {
t.Fatalf("construct manager: %v", err)
}
release, err := manager.Admit(context.Background(), "limited")
if err != nil {
t.Fatalf("fill limited pool: %v", err)
}
defer release()
ctx, cancel := context.WithCancel(context.Background())
cancel()