moby/integration-cli
Christy Perez ae29bd435b Fix TestInspectInt64 for run scenarios that return warnings
Instead of returning only the container ID, starting a container may
also return a warning:

"WARNING: Your kernel does not support swap
limit capabilities, memory limited without
swap.\nff6ebd9f7a8d035d17bb9a61eb9d3f0a5d563160cc43471a9d7ac9f71945d061"

The test assumes that only the container ID is returned and uses the
entire message as the name for the inspect command. To avoid the need to
parse the container ID from the output after the run command, give the
container a name and use that instead.

Signed-off-by: Christy Perez <christy@linux.vnet.ibm.com>
2015-10-19 08:56:32 -05:00
..
fixtures Add integration cli trust tests 2015-07-24 14:08:20 -07:00
check_test.go update tests 2015-10-13 15:52:14 -07:00
docker_api_attach_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_api_build_test.go Use checker assert for docker_api_build_test.go 2015-10-17 14:28:13 +02:00
docker_api_containers_test.go add test-integration-cli specifics for userns 2015-10-09 20:50:27 -04:00
docker_api_create_test.go Minor fix: remove redundant tag name in error message of create failed. 2015-08-30 10:43:33 +08:00
docker_api_events_test.go Cleaned up integration-cli/docker_api_events_test.go 2015-10-15 12:40:36 -04:00
docker_api_exec_resize_test.go cleaned up integration-cli/docker_api_exec_resize_test.go 2015-10-16 13:22:40 -04:00
docker_api_exec_test.go Make exec start return proper error codes 2015-10-02 14:40:22 -04:00
docker_api_images_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_api_info_test.go add docker server version to /info 2015-09-21 21:15:32 +08:00
docker_api_inspect_test.go Added tags list to /images/:id/json api. 2015-09-10 11:55:01 +03:00
docker_api_inspect_unix_test.go Fix Config.Cpuset from API < 1.20 2015-10-13 09:09:05 +02:00
docker_api_logs_test.go Cleaned up integration-cli/docker_api_logs_test.go 2015-10-15 13:33:31 -04:00
docker_api_network_test.go Pass network driver option in docker network command 2015-10-16 14:33:54 -07:00
docker_api_resize_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_api_stats_test.go integration-cli: add cli/api stats tests when container not found 2015-09-17 18:20:25 +02:00
docker_api_test.go Ensure body is closed after error is checked 2015-07-23 14:34:38 +02:00
docker_api_version_test.go Clean up integration-cli/docker_api_version_test.go 2015-10-16 07:03:39 +02:00
docker_api_volumes_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_cli_attach_test.go refactor integration test to use checkers 2015-10-13 20:21:38 +08:00
docker_cli_attach_unix_test.go Fix TestAttachClosedOnContainerStop racey test 2015-09-29 16:57:58 +02:00
docker_cli_build_test.go add test-integration-cli specifics for userns 2015-10-09 20:50:27 -04:00
docker_cli_build_unix_test.go Add ulimit to docker build. 2015-07-23 10:26:06 +08:00
docker_cli_by_digest_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_cli_commit_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_cli_config_test.go Add missing defer to delete temp dir 2015-09-01 07:19:38 -07:00
docker_cli_cp_from_container_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_cli_cp_test.go add test-integration-cli specifics for userns 2015-10-09 20:50:27 -04:00
docker_cli_cp_to_container_test.go add test-integration-cli specifics for userns 2015-10-09 20:50:27 -04:00
docker_cli_cp_utils.go Fix docker cp Behavior With Symlinks 2015-07-30 12:14:28 -07:00
docker_cli_create_test.go Merge pull request #15503 from ibuildthecloud/revert-label 2015-10-12 10:03:18 -07:00
docker_cli_daemon_test.go Merge pull request #16910 from mavenugo/ipam 2015-10-13 14:41:19 -07:00
docker_cli_diff_test.go use of checkers on docker_cli_diff_test.go 2015-10-19 19:07:59 +08:00
docker_cli_events_test.go Resolves #16458 - filter events by labels. 2015-10-02 16:33:20 -04:00
docker_cli_events_unix_test.go daemon: execdriver: lxc: fix cgroup paths 2015-10-13 14:46:59 -07:00
docker_cli_exec_test.go add test-integration-cli specifics for userns 2015-10-09 20:50:27 -04:00
docker_cli_exec_unix_test.go use of checkers on docker_cli_exec_unix_test.go 2015-10-19 15:14:59 +08:00
docker_cli_experimental_test.go Correct mismatched function names (UID() and Gid()) 2015-10-12 10:58:33 -04:00
docker_cli_export_import_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_cli_external_graphdriver_unix_test.go Add user namespace (mapping) support to the Docker engine 2015-10-09 17:47:37 -04:00
docker_cli_help_test.go Fix help test comment to align with the code 2015-10-07 05:09:46 -07:00
docker_cli_history_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_cli_images_test.go make sure the value of the dangling filter is correct 2015-10-16 22:09:32 +08:00
docker_cli_import_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_cli_info_test.go Add builtin nodes discovery 2015-09-25 14:52:09 -07:00
docker_cli_inspect_experimental_test.go Use of checkers on docker_cli_inspect_experimental_test.go. 2015-10-19 19:44:04 +08:00
docker_cli_inspect_test.go Fix TestInspectInt64 for run scenarios that return warnings 2015-10-19 08:56:32 -05:00
docker_cli_kill_test.go Fix Config.Cpuset from API < 1.20 2015-10-13 09:09:05 +02:00
docker_cli_links_test.go add test-integration-cli specifics for userns 2015-10-09 20:50:27 -04:00
docker_cli_links_unix_test.go add test-integration-cli specifics for userns 2015-10-09 20:50:27 -04:00
docker_cli_login_test.go update docker_cli_login_test.go 2015-10-09 15:08:01 +08:00
docker_cli_logs_test.go Use c.Assert in integration-cli/docker_cli_logs_test.go 2015-10-15 10:53:19 +08:00
docker_cli_nat_test.go Use of checkers on docker_cli_nat_test.go. 2015-10-18 20:02:55 +08:00
docker_cli_netmode_test.go add test-integration-cli specifics for userns 2015-10-09 20:50:27 -04:00
docker_cli_network_unix_test.go Pass network driver option in docker network command 2015-10-16 14:33:54 -07:00
docker_cli_pause_test.go Use of checkers on docker_cli_pause_test.go. 2015-10-16 21:07:02 +08:00
docker_cli_port_test.go update docker_cli_port_test.go with Assert 2015-10-16 22:58:51 +08:00
docker_cli_proxy_test.go update docker_cli_proxy_test.go 2015-10-09 14:53:56 +08:00
docker_cli_ps_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_cli_pull_local_test.go update pull-local#16756 2015-10-11 09:57:25 +08:00
docker_cli_pull_test.go Calculate hash based image IDs on pull 2015-10-12 10:51:28 -07:00
docker_cli_pull_trusted_test.go Fix text not matching the actual tests 2015-09-29 15:26:04 +02:00
docker_cli_push_test.go Adding tests for backwards compatibility 2015-10-09 12:20:19 -07:00
docker_cli_rename_test.go use gocheck asserts instead of fatal 2015-10-09 08:34:02 -04:00
docker_cli_restart_test.go use of checkers on docker_cli_restart_test.go 2015-10-15 16:35:03 +08:00
docker_cli_rm_test.go use of checkers on docker_cli_rm_test.go 2015-10-19 10:42:56 +08:00
docker_cli_rmi_test.go Update integration test with Assert 2015-10-11 10:56:02 +08:00
docker_cli_run_test.go update tests 2015-10-13 15:52:14 -07:00
docker_cli_run_unix_test.go Merge pull request #17011 from sunyuan3/TestRunWithBlkioInvalidWeight 2015-10-15 08:34:52 +02:00
docker_cli_save_load_test.go update test using c.Assert replace c.Fatal 2015-10-12 06:32:21 -04:00
docker_cli_save_load_unix_test.go update save-load-unix-test 2015-10-10 15:16:42 +08:00
docker_cli_search_test.go Update test 2015-10-07 07:11:45 +08:00
docker_cli_start_test.go Windows: Get Integration CLI running 2015-09-04 12:32:40 -07:00
docker_cli_start_volume_driver_unix_test.go Merge pull request #15798 from calavera/volume_driver_host_config 2015-09-08 22:05:40 -04:00
docker_cli_stats_test.go update integration-cli/docker_cli_stats_test.go use Assert statement 2015-10-09 18:24:32 +08:00
docker_cli_tag_test.go Make sure tags and digests don’t collide 2015-10-12 14:20:11 -07:00
docker_cli_top_test.go Merge pull request #12648 from estesp/userns-impl 2015-10-10 11:38:07 -07:00
docker_cli_v2_only.go use of checkers on docker_cli_v2_only.go 2015-10-14 20:10:34 +08:00
docker_cli_version_test.go update docker_cli_version_test.go 2015-10-12 15:13:31 +08:00
docker_cli_volume_test.go volume create error on conflict option 2015-10-12 11:16:39 +08:00
docker_cli_wait_test.go use of checkers on Integration test 2015-10-11 11:31:01 +08:00
docker_hub_pull_suite_test.go Use Assert statement to replace condition judgment 2015-10-09 17:45:28 +08:00
docker_test_vars.go Add user namespace (mapping) support to the Docker engine 2015-10-09 17:47:37 -04:00
docker_utils.go Merge pull request #16977 from mountkin/refactor-test 2015-10-17 00:22:03 +02:00
registry.go [graph] Enforce manifest/layer digest verification 2015-08-03 11:41:23 -07:00
registry_mock.go Prevent push and pull to v1 registries by filtering the available endpoints. 2015-09-25 15:59:42 -07:00
requirements.go fix logic because jess is the worst 2015-10-09 22:21:24 -04:00
requirements_unix.go Add support for memory reservation 2015-09-23 14:02:45 +08:00
test_vars_exec.go integration-cli: add test requirement ExecSupport 2015-02-20 23:24:30 -08:00
test_vars_noexec.go integration-cli: add test requirement ExecSupport 2015-02-20 23:24:30 -08:00
test_vars_unix.go pkg/archive: adjust chmod bits on windows 2015-03-04 14:10:37 -08:00
test_vars_windows.go Change windows default permissions to 755 not 711, read access for all poses little security risk and prevents breaking existing Dockerfiles 2015-03-20 21:54:33 -07:00
trust_server.go Changing docs to reflect new names 2015-10-09 15:13:37 -07:00
utils.go Fixes 16556 CI failures 2015-09-24 11:19:00 -07:00