Sebastiaan van Stijn
0f77875220
api/types: move ContainerRemoveOptions to api/types/container
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-10-12 11:29:23 +02:00
Sebastiaan van Stijn
30f09b4a1a
api/types: move ContainerAttachOptions to api/types/container
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-10-12 11:29:23 +02:00
Brian Goff
e8dc902781
Wire up tests to support otel tracing
...
Integration tests will now configure clients to propagate traces as well
as create spans for all tests.
Some extra changes were needed (or desired for trace propagation) in the
test helpers to pass through tracing spans via context.
Signed-off-by: Brian Goff <cpuguy83@gmail.com >
2023-09-07 18:38:22 +00:00
Ziheng Liu
c322af8019
test: add buffer to prevent goroutine leak
...
Signed-off-by: Ziheng Liu <lzhfromustc@gmail.com >
2020-02-27 21:37:26 -05:00
Sebastiaan van Stijn
9f0b3f5609
bump gotest.tools v3.0.1 for compatibility with Go 1.14
...
full diff: https://github.com/gotestyourself/gotest.tools/compare/v2.3.0...v3.0.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2020-02-11 00:06:42 +01:00
Sam Whited
b37c214e3c
testutil: make testing packages public
...
This was done with something along the lines of:
```
mv internal/test testutil
pushd testutil/; grep -IRl "package test" | xargs -I '{}' sed -i -e 's|package test|package testutil|g' {}; popd
mv internal/testutil/*.go testutil/ && rm -rf internal/
grep -IRl "github.com\/docker\/docker\/internal\/test" | xargs -I '{}' sed -i -e 's|github.com/docker/docker/internal/test|github.com/docker/docker/test|g' {}
goimports .
```
I also modified the basic plugin path in testutil/fixtures/plugin.
Signed-off-by: Sam Whited <sam@samwhited.com >
2019-09-11 07:47:23 -05:00
Sebastiaan van Stijn
9f9b4290b9
integration: change container.Run signature to fix linting
...
Line 59: warning: context.Context should be the first parameter of a function (golint)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2019-06-07 13:05:26 +02:00
Sebastiaan van Stijn
3449b12cc7
Use assert.NilError() instead of assert.Assert()
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2019-01-21 13:16:02 +01:00
Sebastiaan van Stijn
a3948d17d3
Improve consistency in "skip"
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2019-01-07 13:56:46 +01:00
Salahuddin Khan
4c8b1fd5a2
Enabling Windows integration tests
...
Signed-off-by: Salahuddin Khan <salah@docker.com >
2018-09-26 15:57:40 -07:00