You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 07938e2
Browse filesBrowse the repository at this point in the historyBrowse files
Sweep quiet on a network gone since its listing; full loaded-daemon test; hook budget (#189)
Review round 54: the sweep treats Docker 27.4's 'network <ID> not found' on its
network removal as gone, as removeByName does, with a test that still reports
any other failure; the loaded-daemon test now lists a container, a network and
a volume, each with a holder, and checks every command line; the after-sweep
check's budget covers its three listings; the Agent isolation comment names the
shared sweep.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
['says nothing of a holder gone since the listing','Error response from daemon: No such container: b',[]],
166
198
['reports any other failure to read the holders','permission denied',[['test: reading holders: docker container inspect failed:','permission denied']]],
Copy file name to clipboardExpand all lines: test/fixtures/docker-sweep.ts
+8-5Lines changed: 8 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -88,17 +88,20 @@ export function removeRunnerObjects(runnerOwner: string, when = 'afterAll'): voi
88
88
* use. Before it removes a network or a volume it also removes every container attached to it or mounting it, labelled
89
89
* or not: a test can make a network or volume with one owner and the container that holds it with another, or without
90
90
* one. Containers and volumes go by force; a network another container joins meanwhile stays. It reports what it finds
91
-
* and any Docker call that fails (but not a read of holders that fails only because one has gone since the listing),
92
-
* prefixed with `when`, and never throws, so cleanup can call it without hiding an earlier error. Each call has a 30 s
91
+
* and any Docker call that fails (but not one that fails only because what it names has gone since the listing: a
92
+
* holder it reads, or a network it removes), prefixed with `when`, and never throws, so cleanup can call it without hiding an earlier error. Each call has a 30 s
93
93
* limit, so all eleven can take up to 5.5 minutes. It runs `docker`, the real one by default (`REAL_DOCKER`).
0 commit comments