summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused filesremove-ci-transition-filesJoffrey F2015-11-122-17/+0
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Merge pull request #796 from v-boyko/feature/logs_sinceDaniel Nephin2015-11-121-0/+35
|\ | | | | Support the 'since' option in the 'containers/<id>/logs' endpoint (API upgrade)
| * Merge upstream branch 'master' into feature/logs_sinceViacheslav Boiko2015-11-0528-3256/+3903
| |\ | | | | | | | | | Signed-off-by: Viacheslav Boiko <v.e.boyko@gmail.com>
| * | Support the 'since' option in the 'containers/<id>/logs' endpointViacheslav Boiko2015-10-021-0/+34
| | | | | | | | | | | | Signed-off-by: Viacheslav Boiko <v.e.boyko@gmail.com>
* | | Merge pull request #848 from docker/845-fixJoffrey F2015-11-121-18/+31
|\ \ \ | | | | | | | | Client.logs(tail=0) now shows no past logs (expected behavior)
| * | | Client.logs(tail=0) now shows no past logs (expected behavior)Joffrey F2015-11-121-18/+31
| | | | | | | | | | | | | | | | | | | | | | | | Add test confirming the new behavior. Signed-off-by: Joffrey F <joffrey@docker.com>
* | | | Add build integration test checking stderr shows up in streamJoffrey F2015-11-111-0/+19
|/ / / | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | Update buildargs test to avoid race condition838-updateJoffrey F2015-11-101-2/+5
| | | | | | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | | Support 'buildargs' parameter for docker 1.9.Leonty2015-11-101-0/+15
| | | | | | | | | | | | Signed-off-by: Leonty Balovnev <tigreavecdesailes@gmail.com>
* | | Bump default API version to 1.21bump_api_version_121Joffrey F2015-11-041-14/+17
| |/ |/| | | | | | | | | | | Update Makefile to run tests against dind 1.9.0 Update network tests to account for latest API changes Signed-off-by: Joffrey F <joffrey@docker.com>
* | Merge pull request #830 from docker/fix-links-create-testJoffrey F2015-10-281-1/+1
|\ \ | | | | | | Use network_mode=bridge when testing links
| * | Use network_mode=bridge when testing linksJoffrey F2015-10-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Links are only compatible with network mode bridge. New versions of docker only create env entries when network mode is properly set. Signed-off-by: Joffrey F <joffrey@docker.com>
* | | Merge pull request #827 from coreypobrien/lessbindingJoffrey F2015-10-281-45/+53
|\ \ \ | |/ / |/| | Move container volume bind tests to their own class
| * | Move container volume bind tests to their own classCorey O'Brien2015-10-271-45/+53
| | | | | | | | | | | | Signed-off-by: Corey O'Brien <coreypobrien@gmail.com>
* | | Fix py3.2 test failure and unicode behaviorJoffrey F2015-10-271-5/+9
|/ / | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Merge pull request #825 from aebm/masterJoffrey F2015-10-271-0/+29
|\ \ | | | | | | Fix auth.load_config bug calling parse_auth
| * | Fix auth.load_config bug calling parse_authAlejandro Brito Monedero2015-10-271-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | When load_config found and auths section it didn't call parse_auth only with the auths section. Instead it called parse_auth with all the configuration. There is also a test to check this case Signed-off-by: Alejandro Brito Monedero <alejandro.monedero@gmail.com>
* | | Support unicode commands.Daniel Nephin2015-10-261-1/+14
|/ / | | | | | | Signed-off-by: Daniel Nephin <dnephin@gmail.com>
* | Reorganize test directoriesreorganize_testsJoffrey F2015-10-2126-3706/+3724
| | | | | | | | | | | | | | | | More clearly separate unit and integration tests Allow splitting into multiple files Cleaner Signed-off-by: Joffrey F <joffrey@docker.com>
* | Update `Client.create_volume` to use new endpoint819-volumes-createJoffrey F2015-10-212-3/+3
| | | | | | | | | | | | | | | | New API endpoint is POST /volumes/create (previously just /volumes) Since the feature is yet unreleased (RC), no fallback strategy is implemented. Signed-off-by: Joffrey F <joffrey@docker.com>
* | Pull correct version of busybox in integration testsJoffrey F2015-10-141-1/+1
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Fix attach method over SSL connectionsStephen Moore2015-10-142-2/+91
| | | | | | | | Signed-off-by: Stephen Moore <stephen@delfick.com>
* | Use DOCKER_CONFIG environment variable to look up auth configJoffrey F2015-10-141-3/+30
| | | | | | | | | | | | When provided, default paths are ignored. Signed-off-by: Joffrey F <joffrey@docker.com>
* | Use url-safe base64 when encoding auth headerJoffrey F2015-10-141-3/+14
| | | | | | | | | | | | + regression test Signed-off-by: Joffrey F <joffrey@docker.com>
* | put/get archive implementationJoffrey F2015-10-143-1/+119
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Fix testsJoffrey F2015-10-142-9/+13
| | | | | | | | | | | | Skips were masking some errors / compatibility issues Signed-off-by: Joffrey F <joffrey@docker.com>
* | Implement methods for managing networksAanand Prasad2015-10-142-0/+238
| | | | | | | | Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
* | Don't break when volume binds contain unicode charactersJoffrey F2015-10-141-2/+89
| | | | | | | | | | | | Also includes a few unit tests for utils.convert_volume_binds Signed-off-by: Joffrey F <joffrey@docker.com>
* | Fix race condition in integration regression testsPaul Bellamy2015-10-011-1/+1
|/ | | | | | | | `docker port` and inspect do not return ports for containers which are not running. Because the container command is `true`, sometimes that exits before the inspect is called. Signed-off-by: Paul Bellamy <paul.a.bellamy@gmail.com>
* Merge pull request #789 from PierreF/top_ps_argsJoffrey F2015-09-283-0/+87
|\ | | | | Allow to specify ps_args when listing processes
| * Added test for "top" functionPierre Fersing2015-09-283-0/+87
| | | | | | | | Signed-off-by: Pierre Fersing <pierre.fersing@bleemeo.com>
* | Support explicit protocol in Client.port792-fix-ports-commandJoffrey F2015-09-281-0/+25
| | | | | | | | | | | | | | | | | | User can now specify a protocol in Client.port using the port/proto syntax. Default port is now TCP instead of UDP (to match the behavior of `docker port`) when no proto is specified. Regression test Signed-off-by: Joffrey F <joffrey@docker.com>
* | _url can take arbitrarily many argumentsAanand Prasad2015-09-251-3/+27
|/ | | | Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
* cpu_quota and cpu_period unit testsJoffrey F2015-09-241-124/+155
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Bump default API versionapi_1.20_supportJoffrey F2015-09-231-1/+0
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Improve volume bindings integration testJoffrey F2015-09-221-21/+7
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Fix volumes tests for API version >= 1.20Joffrey F2015-09-221-13/+38
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Make volume binds tests work on any hostAanand Prasad2015-09-221-74/+76
| | | | | | | | | | | Instead of creating the test directory directly on the host, create it by starting a container with the directory bind-mounted, so that it doesn't matter whether the daemon is local, in a VM or remote. This removes the need to make /tmp a volume in the test container, and to share it with the dind container. Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
* Only pull busybox in integration tests if we don't already have itAanand Prasad2015-09-221-2/+6
| | | | Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
* Pin busybox version to use in integration testsJoffrey F2015-09-211-97/+65
| | | | | | Removed obsolete non-streaming build test Signed-off-by: Joffrey F <joffrey@docker.com>
* Improve volume cleanup logic744-volume-api-supportJoffrey F2015-09-161-4/+5
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Generic skip decorator for low API version accessible to all testsJoffrey F2015-09-163-26/+26
| | | | | | | | | | Add simpler version comparison functions Add decorator to enforce minimum version in API methods Fix utils imports Add minimum_version decorators on API methods that needed it GroupAdd test requires API version >= 1.20 Signed-off-by: Joffrey F <joffrey@docker.com>
* Modify unit tests suite to allow mock routes to optionally be method-awareJoffrey F2015-09-163-44/+334
| | | | | | | Added mock API routes for volumes API Add unit tests and integration tests for volume API Signed-off-by: Joffrey F <joffrey@docker.com>
* GroupAdd testsJoffrey F2015-09-151-0/+35
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Merge pull request #763 from docker/api_splitupMaxime Petazzoni2015-09-131-2/+2
|\ | | | | API splitup
| * Split different APIs into several mixins for clarity / easier maintenanceJoffrey F2015-09-111-2/+2
| | | | | | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* | Fixed regression test in py3 environments1.4.0-releaseJoffrey F2015-09-101-1/+4
|/ | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Merge pull request #753 from docker/715-user-int-uidJoffrey F2015-09-101-0/+6
|\ | | | | Always send a string for the user param in create_container
| * Test UID validity715-user-int-uidJoffrey F2015-08-311-1/+4
| |
| * Always send a string for the user param in create_containerJoffrey F2015-08-311-0/+3
| |