Add tests for WaitContainerRunning ctx cancellation and non-404 inspect errors #664

Open
opened 2026-08-14 14:20:36 +00:00 by the.auditor · 0 comments
Owner

From review of PR #661:

  • WaitContainerRunning has no test covering the ctx.Done() path (returns ctx.Err()).
  • InspectContainer has no test covering non-404 errors (the fmt.Errorf("inspect container %s: %w", ...) path), e.g. daemon unavailable.

Ref: #661

From review of PR #661: - `WaitContainerRunning` has no test covering the `ctx.Done()` path (returns `ctx.Err()`). - `InspectContainer` has no test covering non-404 errors (the `fmt.Errorf("inspect container %s: %w", ...)` path), e.g. daemon unavailable. Ref: https://git.lan.thwap.org/thwap/thwap-pagesd/pulls/661
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
thwap/thwap-pagesd#664
No description provided.