Skip to content

Conversation

@abg
Copy link
Member

@abg abg commented Dec 18, 2025

Simplifies the dependency chain for this integration test and avoids a new go vet error observed when bumping to the latest docker libraries:

$ go vet
/go/pkg/mod/github.com/docker/[email protected]+incompatible/opts/swarmopts/port.go:172:18: cannot range over pr.All() (value of func type iter.Seq[network.Port]): requires go1.23 or later (-lang was set to go1.16; check go.mod)

Now this test uses a thin wrapper around the docker cli and does not require a Go docker library + a long tail of transitive dependencies.

TNZ-72409

Simplifies the dependency chain for this integration test and avoids a
new go vet error observed when bumping to the latest docker libraries:

```
$ go vet
/go/pkg/mod/github.com/docker/[email protected]+incompatible/opts/swarmopts/port.go:172:18: cannot range over pr.All() (value of func type iter.Seq[network.Port]): requires go1.23 or later (-lang was set to go1.16; check go.mod)
```

Now this test uses a thin wrapper around the docker cli and does not
require a Go docker library + a long tail of transitive dependencies.

[TNZ-72409](https://vmw-jira.broadcom.net/browse/TNZ-72409)
Copy link
Member

@kimago kimago left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed changes, and successfully ran integration tests locally.

@github-project-automation github-project-automation bot moved this from Inbox to Pending Merge | Prioritized in Foundational Infrastructure Working Group Dec 19, 2025
@kimago kimago merged commit 0b2b3be into main Dec 19, 2025
2 checks passed
@github-project-automation github-project-automation bot moved this from Pending Merge | Prioritized to Done in Foundational Infrastructure Working Group Dec 19, 2025
@abg abg deleted the chore/remove-dockertest-dependency branch December 23, 2025 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants