moby/integration
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 integration: Don't env cleanup before parallel subtests 2023-07-13 13:41:00 +02:00
capabilities Integration test for capabilities 2023-07-24 17:10:50 -04:00
config integration: use string-literals for easier grep'ing 2023-07-05 12:27:01 +02:00
container integration/internal/container: refactor CreateExpectingErr 2023-08-11 14:03:08 +02:00
daemon TestDaemonProxy: use new scanners to check logs 2023-08-01 00:13:50 +02:00
distribution bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
image integration/tag: Move to client unit test 2023-08-10 10:37:04 +02:00
internal integration/internal/container: refactor CreateExpectingErr 2023-08-11 14:03:08 +02:00
network integration: Don't env cleanup before parallel subtests 2023-07-13 13:41:00 +02:00
plugin libnetwork: use plugin Content-Type headers v1.2 2023-08-07 20:38:54 +02:00
secret integration: fix empty-lines (revive) 2022-09-28 01:58:50 +02:00
service integration/service: format code with gofumpt 2023-06-29 00:31:11 +02:00
session testutil/environment: remove Execution.OSType field 2023-06-26 11:18:09 +02:00
system integration/system: format code with gofumpt 2023-06-29 00:31:11 +02:00
testdata/https Update test certificates 2021-05-18 09:43:21 +02:00
volume integration: Don't env cleanup before parallel subtests 2023-07-13 13:41:00 +02:00
doc.go Add canonical import comment 2018-02-05 16:51:57 -05:00