Ensure Docker lifecycle lab removes fixtures

This commit is contained in:
rcourtman
2026-07-23 21:55:25 +01:00
parent 615fa4418b
commit 50bac2ccf1
@@ -44,7 +44,7 @@ func TestIntegrationContainerUpdateComposeNetworkLifecycle(t *testing.T) {
if err != nil {
t.Fatal(err)
}
defer rawClient.Close()
t.Cleanup(func() { _ = rawClient.Close() })
if _, err := rawClient.Info(ctx, client.InfoOptions{}); err != nil {
t.Skipf("Docker daemon is unavailable: %v", err)
}