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
Djordje Lukic
84a4f37cf7
test: use info from the version endpoint for arch checks
...
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com >
2023-08-31 09:36:48 +02:00
Sebastiaan van Stijn
ab35df454d
remove pre-go1.17 build-tags
...
Removed pre-go1.17 build-tags with go fix;
go mod init
go fix -mod=readonly ./...
rm go.mod
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-05-19 20:38:51 +02:00
Sebastiaan van Stijn
340711db3d
api: add types/volume.ListOptions for a more consistent API
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2022-08-03 23:30:28 +02:00
Sebastiaan van Stijn
64e96932bd
api: rename volume.VolumeCreateBody to volume.CreateOptions
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2022-04-28 22:39:14 +02:00
Sebastiaan van Stijn
3cae9fef16
imports: remove "volumetypes" aliases for api/types/volume
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2022-04-28 22:39:04 +02:00
Eng Zer Jun
c55a4ac779
refactor: move from io/ioutil to io and os package
...
The io/ioutil package has been deprecated in Go 1.16. This commit
replaces the existing io/ioutil functions with their new definitions in
io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com >
2021-08-27 14:56:57 +08:00
Sebastiaan van Stijn
686be57d0a
Update to Go 1.17.0, and gofmt with Go 1.17
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2021-08-24 23:33:27 +02: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
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
2cb7b73a1b
Test: Replace NewClient() with NewClientT()
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2018-12-22 15:53:02 +01:00
Vincent Demeester
d3cc071bb9
Windows: Start of enabling tests under integration/
...
- Add windows CI entrypoint script.
Signed-off-by: John Howard <jhoward@microsoft.com >
Signed-off-by: Vincent Demeester <vincent@sbr.pm >
Signed-off-by: Daniel Nephin <dnephin@docker.com >
Signed-off-by: Vincent Demeester <vincent@sbr.pm >
2018-09-26 12:28:22 -07:00
Vincent Demeester
3845728524
Update tests to use gotest.tools 👼
...
Signed-off-by: Vincent Demeester <vincent@sbr.pm >
2018-06-13 09:04:30 +02:00
Brian Goff
b16b125bb4
Fix swagger volume type generation
...
This was broken by bf6a790f00
Signed-off-by: Brian Goff <cpuguy83@gmail.com >
2018-05-14 13:46:20 -04:00
Daniel Nephin
6be0f70983
Automated migration using
...
gty-migrate-from-testify --ignore-build-tags
Signed-off-by: Daniel Nephin <dnephin@docker.com >
2018-03-16 11:03:43 -04:00
Yong Tang
9fcd2a0510
Update api tests to use container.Run/Create in helper package
...
This fix is a sync up with 36266 so that relevant api tests
use the newly added container.Run/Create in helper package
Signed-off-by: Yong Tang <yong.tang.github@outlook.com >
2018-02-13 14:54:31 +00:00
Vincent Demeester
af306d149e
Rename integration/util to integration/internal
...
Both names have no real sense, but one allows to make sure these packages
aren't used outside of `integration`.
Signed-off-by: Vincent Demeester <vincent@sbr.pm >
2018-02-10 09:16:32 +01:00
Daniel Nephin
4f0d95fa6e
Add canonical import comment
...
Signed-off-by: Daniel Nephin <dnephin@docker.com >
2018-02-05 16:51:57 -05:00
Daniel Nephin
104c1c6843
Skip all testdata in integration
...
Also skip.IfCondition directly from the test, so that the skip message is correct
Signed-off-by: Daniel Nephin <dnephin@docker.com >
2017-10-02 17:02:52 -04:00
David Sheets
1574d91463
integration/plugin/authz: inline CLI work-alike library
...
I strongly disagree with the design of this pull request.
Signed-off-by: David Sheets <dsheets@docker.com >
2017-10-02 14:20:59 +01:00
David Sheets
928b0631c9
integration/plugin/authz: port tests from integration-cli
...
Signed-off-by: David Sheets <dsheets@docker.com >
2017-10-02 14:20:59 +01:00