summaryrefslogtreecommitdiff
path: root/integration-cli/docker_cli_attach_unix_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Improve remote integration-cli testsArnaud Porterie2016-02-111-0/+1
| | | | | | | | | | | | Progress toward being able to run integration-cli campaign using a client hitting a remote host. Most of these fixes imply flagging tests that assume they are running on the same host than the Daemon. Also fixes the `contrib/httpserver` image that couldn't run because of a dynamically linked Go binary inside the busybox image. Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
* Assert error in body of function `inspectField*`Zhang Wei2016-01-291-4/+2
| | | | | | | | | 1. Replace raw `docker inspect -f xxx` with `inspectField`, to make code cleaner and more consistent 2. assert the error in function `inspectField*` so we don't need to assert the return value of it every time, this will make inspect easier. Signed-off-by: Zhang Wei <zhangwei555@huawei.com>
* Fix typos found across repositoryJustas Brazauskas2015-12-131-1/+1
| | | | Signed-off-by: Justas Brazauskas <brazauskasjustas@gmail.com>
* Using checkers assert for integration-cli/docker_cli_attach_unix_test.goWen Cheng Ma2015-10-291-75/+36
| | | | | | Fixes part of #16756 Signed-off-by: Wen Cheng Ma <wenchma@cn.ibm.com>
* Fix TestAttachClosedOnContainerStop racey testVincent Demeester2015-09-291-17/+18
| | | | | | | This test is failing once in a while on the CI, because the docker attach command might be called after the container ends. Signed-off-by: Vincent Demeester <vincent@sbr.pm>
* Remove/Comment time.Sleep in integration testsVincent Demeester2015-08-181-16/+6
| | | | | | | Remove what seems unnecessary time.Sleep (1 second even) and comment the ones that seemed necessary. Signed-off-by: Vincent Demeester <vincent@sbr.pm>
* Use dockerCmd when possible (#14603)Vincent Demeester2015-07-141-9/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - integration-cli/docker_cli_attach_test.go - integration-cli/docker_cli_attach_unix_test.go - integration-cli/docker_cli_build_test.go - integration-cli/docker_cli_build_unix_test.go - integration-cli/docker_cli_by_digest_test.go - integration-cli/docker_cli_commit_test.go - integration-cli/docker_cli_config_test.go - integration-cli/docker_cli_cp_test.go - integration-cli/docker_cli_create_test.go - integration-cli/docker_cli_pause_test.go - integration-cli/docker_cli_port_test.go - integration-cli/docker_cli_port_unix_test.go - integration-cli/docker_cli_proxy_test.go - integration-cli/docker_cli_ps_test.go - integration-cli/docker_cli_pull_test.go - integration-cli/docker_cli_push_test.go - docker_api_attach_test.go - docker_api_containers_test.go - docker_api_events_test.go - docker_api_exec_resize_test.go - docker_api_exec_test.go - docker_api_images_test.go - docker_api_info_test.go Signed-off-by: Vincent Demeester <vincent@sbr.pm>
* c.Fatal won't fail and exit test inside a goroutine, errors should be ↵Antonio Murdaca2015-04-291-15/+18
| | | | | | handled outside with a channel Signed-off-by: Antonio Murdaca <me@runcom.ninja>
* trivial: typo cleanupDavid Mackey2015-04-271-4/+4
| | | | Signed-off-by: David Mackey <tdmackey@booleanhaiku.com>
* Use suite for integration-cliAlexander Morozov2015-04-211-55/+49
| | | | | | | It prints test name and duration for each test. Also performs deleteAllContainers after each test. Signed-off-by: Alexander Morozov <lk4d4@docker.com>
* Removed unnecessary error output from dockerCmdbobby abbott2015-04-171-2/+2
| | | | | | | | | Changed method declaration. Fixed all calls to dockerCmd method to reflect the change. resolves #12355 Signed-off-by: bobby abbott <ttobbaybbob@gmail.com>
* Move TestAttachDetachTruncatedID to integration-cliBrian Goff2015-04-131-0/+73
| | | | Signed-off-by: Brian Goff <cpuguy83@gmail.com>
* Move TestAttachDetach to integration-cliBrian Goff2015-04-131-0/+76
| | | | Signed-off-by: Brian Goff <cpuguy83@gmail.com>
* Remove `stripTrailingCharacters` from testsBrian Goff2015-04-061-1/+1
| | | | | | This was just an alias to `strings.TrimSpace` Signed-off-by: Brian Goff <cpuguy83@gmail.com>
* integration-cli: wait for container before sending ^DTibor Vass2015-01-221-0/+3
| | | | Signed-off-by: Tibor Vass <teabee89@gmail.com>
* Fix racey TestAttachAfterDetachBrian Goff2015-01-211-15/+26
| | | | Signed-off-by: Brian Goff <cpuguy83@gmail.com>
* Add build constraint.Jessica Frazelle2015-01-141-0/+2
| | | | Docker-DCO-1.1-Signed-off-by: Jessica Frazelle <jess@docker.com> (github: jfrazelle)
* Fix attach stream closing issuesTonis Tiigi2015-01-141-0/+123
Fixes: #9860 Fixes: detach and attach tty mode We never actually need to close container `stdin` after `stdout/stderr` finishes. We only need to close the `stdin` goroutine. In some cases this also means closing `stdin` but that is already controlled by the goroutine itself. Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>