moby/integration/internal
Sebastiaan van Stijn 74feadacf8
integration/internal/container: refactor CreateExpectingErr
This utility was only used for a single test, and it was very limited
in functionality as it only allowed for a certain error-string to be
matched.

Let's change it into a more generic function; a helper that allows a
container to be created from a `TestContainerConfig` (which can be
constructed using `NewTestConfig`) and that returns the response from
client.ContainerCreate(), so that any result from that can be tested,
leaving it up to the test to check the results.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-08-11 14:03:08 +02:00
..
build fix some comments 2023-04-25 13:39:28 +08:00
container integration/internal/container: refactor CreateExpectingErr 2023-08-11 14:03:08 +02:00
network replace golint with revive, as it's deprecated 2022-07-04 10:15:54 +02:00
requirement integration/internal: format code with gofumpt 2023-06-29 00:31:11 +02:00
swarm integration/internal: format code with gofumpt 2023-06-29 00:31:11 +02:00
termtest test: Add tests for logging 2022-06-10 09:26:17 +02:00