1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/integration
Andrea Luzzardi 1df87b9506 API: Provide the HostConfig during "run".
Currently, the HostConfig is only passed from the CLI to Docker only
when issuing a docker create, but not when doing a docker run.

In the near future, in order to allocate ports at creation time rather
than start time, we will need to have the HostConfig readily available
at container creation.

This PR makes the client always pass the HostConfig when creating a
container (regardless of whether it's for a run or create).

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-09-25 15:24:38 -07:00
..
fixtures/https Add authenticated TLS support for API 2014-03-09 00:06:44 +01:00
api_test.go Add checks for app/json - issue #2515 2014-09-25 08:54:48 -07:00
commands_test.go Use State as embedded to Container 2014-09-03 00:01:11 +04:00
container_test.go API: Provide the HostConfig during "run". 2014-09-25 15:24:38 -07:00
graph_test.go graph: change argument order of Register function 2014-08-28 20:06:07 +09:00
https_test.go update go import path and libcontainer 2014-07-24 22:19:50 +00:00
MAINTAINERS Add Cristian to integration/MAINTAINERS 2014-08-13 07:50:40 +00:00
README.md Freeze ./integration and explain where to contribute new tests 2014-04-26 18:55:39 -07:00
runtime_test.go API: Provide the HostConfig during "run". 2014-09-25 15:24:38 -07:00
server_test.go integration: lower timeout for stop/restart tests 2014-09-24 01:20:41 +03:00
utils_test.go API: Provide the HostConfig during "run". 2014-09-25 15:24:38 -07:00
z_final_test.go update go import path and libcontainer 2014-07-24 22:19:50 +00:00

Legacy integration tests

./integration contains Docker's legacy integration tests. It is DEPRECATED and will eventually be removed.

If you are a CONTRIBUTOR and want to add a test:

  • Consider mocking out side effects and contributing a unit test in the subsystem you're modifying. For example, the remote API has unit tests in ./api/server/server_unit_tests.go. The events subsystem has unit tests in ./events/events_test.go. And so on.

  • For end-to-end integration tests, please contribute to ./integration-cli.

If you are a MAINTAINER

Please don't allow patches adding new tests to ./integration.

If you are LOOKING FOR A WAY TO HELP

Please consider porting tests away from ./integration and into either unit tests or CLI tests.

Any help will be greatly appreciated!