summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* Allow cancelling the streams from other threadsViktor Adam2018-03-203-0/+89
| | | | Signed-off-by: Viktor Adam <rycus86@gmail.com>
* Fix socket tests for TLS-enabled testsJoffrey F2018-03-151-5/+5
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add test for container list with sparse=TrueJoffrey F2018-03-141-0/+22
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Use same split rules for Dockerfile as other include/exclude patterns1956-dockerignore-include-dockerfileJoffrey F2018-03-141-0/+5
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Improve dockerignore comment testJoffrey F2018-03-051-1/+5
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Fix flake8 caseWanzhi Du2018-03-051-1/+1
| | | | Signed-off-by: Wanzhi Du <wanzhi09@gmail.com>
* Ignore comment line from the .dockerignore fileWanzhi Du2018-03-051-1/+2
| | | | | | | | | This fixed the bug that test comment line in .dockerignore file as ignore rule bug. Add test for "# comment" patterns in .dockerignore. Signed-off-by: Wanzhi Du <wanzhi09@gmail.com>
* Merge pull request #1928 from mnottale/fix-spurious-resolution-macos-slowdownJoffrey F2018-02-271-1/+1
|\ | | | | Workaround requests resolving our unix socket URL on macosx.
| * Workaround requests resolving our unix socket URL on macosx.Matthieu Nottale2018-02-261-1/+1
| | | | | | | | Signed-off-by: Matthieu Nottale <matthieu.nottale@docker.com>
* | Merge pull request #1927 from mefyl/masterJoffrey F2018-02-261-0/+16
|\ \ | |/ |/| Add test for "/.." patterns in .dockerignore.
| * Add test for "/.." patterns in .dockerignore.mefyl2018-02-261-0/+16
| | | | | | | | Signed-off-by: mefyl <quentin.hocquet@docker.com>
* | Cleanup containers during the testsYong Tang2018-02-232-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | This fix tries to clean up the containers during the tests so that no pre-existing volumes left in docker integration tests. This fix adds `-v` when removing containers, and makes sure containers launched in non-daemon mode are removed. This fix is realted to moby PR 36292 Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* | Merge branch 'release' into 3.1.0-releaseJoffrey F2018-02-221-1/+0
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com> Conflicts: docker/version.py tests/unit/api_test.py tests/unit/utils_test.py
| * | Rewrite access check in create_archive with EAFPJoffrey F2018-02-051-2/+6
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | Add login data to the right subdict in auth_configsJoffrey F2018-02-051-0/+18
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
| * | Add workaround for bpo-32713Joffrey F2018-02-051-0/+12
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | Merge pull request #1914 from mefyl/masterJoffrey F2018-02-221-68/+24
|\ \ \ | | |/ | |/| Improve .dockerignore compliance
| * | Fix .dockerignore: accept wildcard in inclusion pattern, honor last line ↵mefyl2018-02-211-64/+20
| | | | | | | | | | | | | | | | | | precedence. Signed-off-by: mefyl <quentin.hocquet@docker.com>
| * | Fix dockerignore handling of absolute path exceptions.mefyl2018-02-211-0/+7
| | | | | | | | | | | | Signed-off-by: mefyl <quentin.hocquet@docker.com>
| * | Revert "Correctly support absolute paths in .dockerignore"mefyl2018-02-191-17/+10
| | | | | | | | | | | | | | | | | | This reverts commit 34d50483e20e86cb7ab22700e036a5c4d319268a. Signed-off-by: mefyl <quentin.hocquet@docker.com>
* | | Merge pull request #1918 from rycus86/service-restart-methodJoffrey F2018-02-211-2/+39
|\ \ \ | | | | | | | | Shorthand method for service.restart()
| * | | Shorthand method for service.force_update()Viktor Adam2018-02-211-2/+39
| |/ / | | | | | | | | | Signed-off-by: Viktor Adam <rycus86@gmail.com>
* | | GenericResources was introduced in 1.32Joffrey F2018-02-201-1/+2
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | Code cleanup and version guardsJoffrey F2018-02-201-4/+4
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | Add support for generic resources to docker.types.ResourcesWilliam Myers2018-02-201-0/+51
| | | | | | | | | | | | | | | | | | | | | - Add support for dict and list generic_resources parameter - Add generic_resources integration test Signed-off-by: William Myers <mwilliammyers@gmail.com>
* | | Fix DockerClient pull bug when pulling image by digest1912-pull-sha-tagJoffrey F2018-02-201-0/+9
|/ / | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Fix test_login flakesJoffrey F2018-02-141-6/+7
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Merge pull request #1906 from docker/1352-data_stream_controlJoffrey F2018-02-142-3/+11
|\ \ | | | | | | Add chunk_size parameter to data downloading methods
| * | Add chunk_size parameter to data downloading methods (export, get_archive, save)1352-data_stream_controlJoffrey F2018-02-142-3/+11
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | Merge pull request #1908 from docker/1861-credstore_loginJoffrey F2018-02-141-0/+13
|\ \ \ | | | | | | | | Fix authconfig resolution when credStore is used combined with login()
| * | | Fix authconfig resolution when credStore is used combined with login()1861-credstore_loginJoffrey F2018-02-131-0/+13
| | | | | | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | | Clean up created volume from test_run_with_named_volumeYong Tang2018-02-141-1/+2
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | This fix adds the volume id to the list so that it could be cleaned up on test teardown. The issue was originally from https://github.com/moby/moby/pull/36292 where an additional `somevolume` pre-exists in tests. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* | | Add support for device_cgroup_rules parameter in host configc5622_device_cgroup_rulesJoffrey F2018-02-131-0/+15
|/ / | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Correctly support absolute paths in .dockerignorec5672-dockerignore-abspathJoffrey F2018-02-121-10/+17
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Merge pull request #1901 from docker/1899-create_archive_fixJoffrey F2018-02-051-2/+6
|\ \ | | | | | | Rewrite access check in create_archive with EAFP
| * | Rewrite access check in create_archive with EAFP1899-create_archive_fixJoffrey F2018-02-051-2/+6
| |/ | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Merge pull request #1896 from docker/1895-login-authsJoffrey F2018-02-021-0/+18
|\ \ | | | | | | Add login data to the right subdict in auth_configs
| * | Add login data to the right subdict in auth_configs1895-login-authsJoffrey F2018-02-011-0/+18
| |/ | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Add workaround for bpo-32713c5618-negative-mtime-tarJoffrey F2018-02-011-0/+12
|/ | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Update wait to always return a dictwait_returnJoffrey F2018-01-315-24/+26
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Merge pull request #1888 from docker/1884-create_volumes_win32Joffrey F2018-01-311-2/+5
|\ | | | | Correctly parse volumes with Windows paths
| * Correctly parse volumes with Windows paths1884-create_volumes_win32Joffrey F2018-01-311-2/+5
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Refuse API version < 1.21 ; Remove associated code pathscleanup_deprecatedJoffrey F2018-01-3112-210/+55
|/ | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Add support for publish mode for endpointspec ports1878-publishmodeJoffrey F2018-01-312-1/+95
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Improve separation between auth_configs and general_configsimprove_authconfig_genconfig_separationJoffrey F2018-01-306-67/+94
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Update detach tests to work with AF_INET as wellmtsmfm-masterJoffrey F2018-01-303-35/+53
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Use config.json for detachKeysFumiaki MATSUSHIMA2018-01-305-56/+206
| | | | Signed-off-by: Fumiaki Matsushima <mtsmfm@gmail.com>
* Properly support pulling all tags in DockerClient.images.pull1761-dockerclient-pullJoffrey F2018-01-303-3/+23
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Merge pull request #1881 from docker/pytest-assertsJoffrey F2018-01-3028-1608/+1270
|\ | | | | Use pytest asserts
| * Use pytest assertspytest-assertsJoffrey F2018-01-3028-1608/+1270
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>