summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
| * Add support for rotate_manager_unlock_keyHannes Ljungberg2019-05-011-0/+13
| | | | | | | | Signed-off-by: Hannes Ljungberg <hannes@5monkeys.se>
* | Merge pull request #2328 from docker/modernize_test_depsJoffrey F2019-05-013-28/+25
|\ \ | |/ |/| Update some test dependencies / default values with newer versions
| * Update some test dependencies / default values with newer versionsJoffrey F2019-05-013-28/+25
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Merge pull request #2296 from hannseman/swarm-init-responseJoffrey F2019-05-011-1/+3
|\ \ | | | | | | Return node id on swarm init
| * | Return node id on swarm initHannes Ljungberg2019-05-011-1/+3
| | | | | | | | | | | | Signed-off-by: Hannes Ljungberg <hannes@5monkeys.se>
* | | Merge pull request #2303 from hannseman/swarm-DataPathAddrJoffrey F2019-05-012-0/+16
|\ \ \ | | | | | | | | Add support for swarm DataPathAddr
| * | | Add test for join on already joined swarmHannes Ljungberg2019-05-011-0/+12
| | | | | | | | | | | | | | | | Signed-off-by: Hannes Ljungberg <hannes@5monkeys.se>
| * | | Add swarm support for data_addr_pathHannes Ljungberg2019-05-011-0/+4
| |/ / | | | | | | | | | Signed-off-by: Hannes Ljungberg <hannes@5monkeys.se>
* | | Merge pull request #2222 from docker/vendor_dockerpycredsJoffrey F2019-05-018-4/+155
|\ \ \ | |_|/ |/| | Make dockerpycreds part of the SDK under docker.credentials
| * | Make dockerpycreds part of the SDK under docker.credentialsJoffrey F2019-04-308-4/+155
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | Improve low_timeout test resilienceJoffrey F2019-05-011-4/+4
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | Streaming TTY messages sometimes get truncated. Handle gracefully in demux testsdemux_test_fixesJoffrey F2019-05-011-4/+12
| |/ |/| | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Increase timeout on test with long sleepsfix_socket_detach_helperJoffrey F2019-05-011-1/+1
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Reorder importsJoffrey F2019-05-011-3/+3
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Improve socket_detached test helper to support future versions of the daemonJoffrey F2019-05-011-4/+9
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Separate into individual testsfix_exec_demux_testsJoffrey F2019-05-011-63/+77
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Avoid demux test flakinessJoffrey F2019-04-301-27/+21
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Merge pull request #2309 from thaJeztah/remove_init_path_createJoffrey F2019-04-301-13/+0
|\ \ | |/ |/| Remove init_path from create
| * Remove init_path from createSebastiaan van Stijn2019-04-101-13/+0
| | | | | | | | | | | | | | | | | | | | | | | | This option was never functional, and was not intended to be added to the "container create" API, so let's remove it, because it has been removed in Docker 17.05, and was broken in versions before that; see - https://github.com/moby/moby/issues/32355 --init-path does not seem to work - https://github.com/moby/moby/pull/32470 remove --init-path from client Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
* | Merge pull request #2297 from hannseman/service-initJoffrey F2019-04-141-0/+14
|\ \ | |/ |/| Add support for setting init on services
| * Add support for setting init on servicesHannes Ljungberg2019-03-281-0/+14
| | | | | | | | Signed-off-by: Hannes Ljungberg <hannes@5monkeys.se>
* | Add 'sleep 2' to avoid race condition on attachUlysses Souza2019-04-041-5/+2
| | | | | | | | Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
* | Merge pull request #1882 from larkost/1743-container-portsUlysses Souza2019-04-031-0/+60
|\ \ | |/ |/| add ports to containers
| * Refactor and add testsUlysses Souza2019-03-261-8/+46
| | | | | | | | Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
| * add ports to containersKarl Kuehn2019-03-261-0/+22
| | | | | | | | Signed-off-by: Karl Kuehn <kuehn.karl@gmail.com>
* | Fix base_url to keep TCP protocolUlysses Souza2019-03-261-4/+8
| | | | | | | | | | | | | | | | This fix lets the responsability of changing the protocol to `parse_host` afterwards, letting `base_url` with the original value. Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
* | Xfail test_attach_stream_and_cancel on TLSUlysses Souza2019-03-261-1/+3
|/ | | | | | This test is quite flaky on ssl integration test Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
* Merge pull request #2288 from hannseman/container-run-create-volume_driverIan Campbell2019-03-252-1/+11
|\ | | | | Move volume_driver to RUN_HOST_CONFIG_KWARGS
| * Move volume_driver to RUN_HOST_CONFIG_KWARGSHannes Ljungberg2019-03-232-1/+11
| | | | | | | | | | | | Fixes #2271 Signed-off-by: Hannes Ljungberg <hannes@5monkeys.se>
* | Merge pull request #2287 from hannseman/swarm-default-addr-pool-reduxIan Campbell2019-03-251-0/+29
|\ \ | | | | | | Redux added arguments to create a swarm with a custom address pool and subnet size.
| * | Split monolithic integration tests into individual tests.Barry Shapira2019-03-221-24/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | The integration tests require restarting the swarm once for each test. I had done so manually with self.init_swarm(force_new_cluster=True) but that wasn't resetting the swarm state correctly. The usual test teardown procedure cleans up correctly. Signed-off-by: Barry Shapira <barry@whiterabbit.ai>
| * | Check API version before setting swarm addr pool.Barry Shapira2019-03-221-9/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also corrected a documentation error: the default API version from constants is currently 1.35, not 1.30 as was sometimes listed. Signed-off-by: Barry Shapira <barry@whiterabbit.ai> Removed accidental whitespace. Signed-off-by: Barry Shapira <barry@whiterabbit.ai>
| * | Added arguments to creeate a swarm with a custom address pool and subnet size.Barry Shapira2019-03-221-0/+23
| |/ | | | | | | Signed-off-by: Barry Shapira <barry@whiterabbit.ai>
* | Merge pull request #2282 from ulyssessouza/avoid-race-condition-on-autoremoveIan Campbell2019-03-251-2/+7
|\ \ | | | | | | Avoid race condition on short execution
| * | Avoid race condition on short executionUlysses Souza2019-03-251-2/+7
| |/ | | | | | | | | | | | | | | - Add a sleep of 2 seconds to be sure the logs can be requested before the daemon removes the container when run with auto_remove=True Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
* | Test port lookup with protocolsHannes Ljungberg2019-03-181-4/+12
| | | | | | | | Signed-off-by: Hannes Ljungberg <hannes@5monkeys.se>
* | Test all split_port with all valid protocolsHannes Ljungberg2019-03-181-3/+10
|/ | | | Signed-off-by: Hannes Ljungberg <hannes@5monkeys.se>
* Make PlacementPreference build correct contextHannes Ljungberg2019-01-181-0/+15
| | | | Signed-off-by: Hannes Ljungberg <hannes@5monkeys.se>
* Remove use_config_proxy from exec. Add use_config_proxy docs to DockerClientproxy_env_fixesJoffrey F2019-01-092-2/+15
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Regression 443 test: relax status-code checkSebastiaan van Stijn2019-01-092-1/+22
| | | | | | | | | | | This test was testing for a 500 status, but this status is actually a bug in the API (as it's due to an invalid request), and the API should actually return a 400 status. To make this test handle both situations, relax the test to accept either a 4xx or 5xx status. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
* Style fixes and removed some unused code2199-proxy-supportJoffrey F2019-01-092-14/+24
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* By default, disable proxy supportCorentin Henry2019-01-092-5/+6
| | | | | | This is to avoid a breaking change Signed-off-by: Corentin Henry <corentinhenry@gmail.com>
* add integration tests for proxy supportCorentin Henry2019-01-092-0/+72
| | | | Signed-off-by: Corentin Henry <corentinhenry@gmail.com>
* add unit tests for ProxyConfigCorentin Henry2019-01-091-0/+84
| | | | Signed-off-by: Corentin Henry <corentinhenry@gmail.com>
* tests: remove outdated codeCorentin Henry2019-01-091-2/+0
| | | | | | the _cfg attribute does not exist anymore Signed-off-by: Corentin Henry <corentinhenry@gmail.com>
* Update test dependencies to latest version, fix some flake8 errorsfix_test_depsJoffrey F2019-01-092-2/+2
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Merge pull request #2188 from docker/c6374-credhelpersJoffrey F2018-11-303-88/+267
|\ | | | | Modernize auth management
| * Add some credHelpers testsc6374-credhelpersJoffrey F2018-11-301-51/+230
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * Make AuthConfig a dict subclass for backward-compatibilityJoffrey F2018-11-301-2/+2
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * Modernize auth managementJoffrey F2018-11-283-43/+43
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>